diff options
author | jlam <jlam> | 2008-03-04 19:21:10 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-04 19:21:10 +0000 |
commit | 476429c9f7b93362ea027fafcaa1bb835868c0d1 (patch) | |
tree | 49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/cuecat | |
parent | df44780831cf4dadccea821bb560fbdd11bda60b (diff) | |
download | pkgsrc-476429c9f7b93362ea027fafcaa1bb835868c0d1.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'misc/cuecat')
-rw-r--r-- | misc/cuecat/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/misc/cuecat/Makefile b/misc/cuecat/Makefile index a8d0c31b800..8abe755a284 100644 --- a/misc/cuecat/Makefile +++ b/misc/cuecat/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2006/03/04 21:30:10 jlam Exp $ +# $NetBSD: Makefile,v 1.13 2008/03/04 19:21:11 jlam Exp $ # DISTNAME= cuecat-0.2.1 @@ -19,13 +19,15 @@ NO_SRC_ON_CDROM= ${RESTRICTED} NO_BIN_ON_FTP= ${RESTRICTED} NO_BIN_ON_CDROM= ${RESTRICTED} +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/read_cuecat ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cuecat - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/cuecat + ${INSTALL_PROGRAM} ${WRKSRC}/read_cuecat ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/cuecat + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/cuecat .include "../../mk/bsd.pkg.mk" |