diff options
Diffstat (limited to 'lang/nawk')
-rw-r--r-- | lang/nawk/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lang/nawk/Makefile b/lang/nawk/Makefile index 88405dd9180..794ba093055 100644 --- a/lang/nawk/Makefile +++ b/lang/nawk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2007/02/22 19:26:38 wiz Exp $ +# $NetBSD: Makefile,v 1.31 2008/03/04 16:38:12 jlam Exp $ DISTNAME= nawk-20050424 CATEGORIES= lang @@ -10,6 +10,7 @@ HOMEPAGE= http://cm.bell-labs.com/who/bwk/ COMMENT= Brian Kernighan's pattern-directed scanning and processing language PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir CFLAGS+= ${CPPFLAGS} MAKE_FLAGS+= CC=${CC:Q} CFLAGS=${CFLAGS:M*:Q} @@ -24,7 +25,8 @@ do-extract: @${CP} -R ${FILESDIR} ${WRKSRC} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/a.out ${PREFIX}/bin/nawk - ${INSTALL_MAN} ${WRKSRC}/nawk.1 ${PREFIX}/${PKGMANDIR}/man1/nawk.1 + ${INSTALL_PROGRAM} ${WRKSRC}/a.out ${DESTDIR}${PREFIX}/bin/nawk + ${INSTALL_MAN} ${WRKSRC}/nawk.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/nawk.1 .include "../../mk/bsd.pkg.mk" |