diff options
Diffstat (limited to 'archivers/macutil')
-rw-r--r-- | archivers/macutil/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/archivers/macutil/Makefile b/archivers/macutil/Makefile index b3259f2319f..6d3cf3ebf4e 100644 --- a/archivers/macutil/Makefile +++ b/archivers/macutil/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2006/09/09 02:41:54 obache Exp $ +# $NetBSD: Makefile,v 1.24 2008/03/02 03:48:36 jlam Exp $ DISTNAME= macutil2.0b3 PKGNAME= macutil-2.0b3 @@ -10,6 +10,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Create & extract Mac archive files PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir MAKE_FILE= makefile MAKE_ENV+= CF=${CFLAGS:M*:Q} @@ -25,7 +26,8 @@ do-install: ${WRKSRC}/mixed/macstream \ ${WRKSRC}/binhex/binhex \ ${WRKSRC}/comm/tomac \ - ${WRKSRC}/comm/frommac ${PREFIX}/bin + ${WRKSRC}/comm/frommac \ + ${DESTDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/man/macunpack.1 \ ${WRKSRC}/man/hexbin.1 \ ${WRKSRC}/man/macsave.1 \ @@ -33,6 +35,7 @@ do-install: ${WRKSRC}/man/binhex.1 \ ${WRKSRC}/man/tomac.1 \ ${WRKSRC}/man/frommac.1 \ - ${WRKSRC}/man/macutil.1 ${PREFIX}/${PKGMANDIR}/man1 + ${WRKSRC}/man/macutil.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" |