summaryrefslogtreecommitdiff
path: root/converters/macfork
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 05:51:07 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 05:51:07 +0000
commit43112f64cf453f5e24fc1a811650c98f7db2fe76 (patch)
tree4d53356d8b15aa65f07abac724d85fa87ada67d1 /converters/macfork
parent3b34772d7f8c87aaf463b2f9127224a7d6490225 (diff)
downloadpkgsrc-43112f64cf453f5e24fc1a811650c98f7db2fe76.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'converters/macfork')
-rw-r--r--converters/macfork/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/converters/macfork/Makefile b/converters/macfork/Makefile
index 1127a97869b..b23f8be395c 100644
--- a/converters/macfork/Makefile
+++ b/converters/macfork/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2006/03/10 23:22:48 rillig Exp $
+# $NetBSD: Makefile,v 1.18 2008/03/03 05:51:08 jlam Exp $
DISTNAME= macfork-1.0
PKGREVISION= 1
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.cs.cmu.edu/afs/cs/user/ajw/www/software/
COMMENT= Tool for extracting data from Macintosh resource forks
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/macfork
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
@@ -18,8 +20,8 @@ DOCDIR= ${PREFIX}/share/doc/macfork
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC:Q}/macfork ${PREFIX:Q}/bin
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC:Q}/README ${DOCDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC:Q}/macfork ${DESTDIR}${PREFIX:Q}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC:Q}/README ${DESTDIR}${DOCDIR}
.include "../../mk/bsd.pkg.mk"