diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 15:21:07 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 15:21:07 +0000 |
commit | cc6162770e0a91d45866dd760690d21c6db27fee (patch) | |
tree | 41ee23c9647f042e84712f31b4d257d7db8cd51d /databases/mysqlcc/Makefile | |
parent | e87e8011a9f70544994c762db2703e876ecdad08 (diff) | |
download | pkgsrc-cc6162770e0a91d45866dd760690d21c6db27fee.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/Makefile')
-rw-r--r-- | databases/mysqlcc/Makefile | 6 |
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" |