summaryrefslogtreecommitdiff
path: root/databases/mysqlcc
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 15:21:07 +0000
committerjlam <jlam>2008-03-03 15:21:07 +0000
commit6bf0c42dc496151566450acc4ce8cda48be0af58 (patch)
tree41ee23c9647f042e84712f31b4d257d7db8cd51d /databases/mysqlcc
parent86213e922b2fb88ae36e4de9c3a355bfe2923c08 (diff)
downloadpkgsrc-6bf0c42dc496151566450acc4ce8cda48be0af58.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'databases/mysqlcc')
-rw-r--r--databases/mysqlcc/Makefile6
1 files changed, 4 insertions, 2 deletions
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"