summaryrefslogtreecommitdiff
path: root/converters/macfork
diff options
context:
space:
mode:
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"