From 6bf0c42dc496151566450acc4ce8cda48be0af58 Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 3 Mar 2008 15:21:07 +0000 Subject: Mechanical changes to add DESTDIR support to packages that install their files via a custom do-install target. --- databases/mysqlcc/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'databases/mysqlcc') diff --git a/databases/mysqlcc/Makefile b/databases/mysqlcc/Makefile index fd6f92f3a37..aeae76d58f0 100644 --- a/databases/mysqlcc/Makefile +++ b/databases/mysqlcc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2008/01/18 05:06:28 tnn Exp $ +# $NetBSD: Makefile,v 1.22 2008/03/03 15:21:07 jlam Exp $ # DISTNAME= mysqlcc-0.9.4-src @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.mysql.com/ COMMENT= MySQL Control Center +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c c++ USE_PKGLOCALEDIR= YES USE_TOOLS+= automake @@ -31,7 +33,7 @@ pre-configure: cd ${WRKSRC} && aclocal && autoconf do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/mysqlcc ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/mysqlcc ${DESTDIR}${PREFIX}/bin .include "../../security/openssl/buildlink3.mk" .include "../../x11/qt3-tools/buildlink3.mk" -- cgit v1.2.3