diff options
Diffstat (limited to 'textproc/rtfm/Makefile')
-rw-r--r-- | textproc/rtfm/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/textproc/rtfm/Makefile b/textproc/rtfm/Makefile index c916a9560f6..10c23fe92e8 100644 --- a/textproc/rtfm/Makefile +++ b/textproc/rtfm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2007/01/07 09:14:14 rillig Exp $ +# $NetBSD: Makefile,v 1.8 2009/02/16 19:07:09 joerg Exp $ DISTNAME= rtfm-1.0 CATEGORIES= textproc @@ -8,6 +8,8 @@ MASTER_SITES= ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/ \ MAINTAINER= zuntum@NetBSD.org COMMENT= NetBSD documentation and GNU Texinfo files search mechanism +PKG_DESTDIR_SUPPORT= user-destdir + INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 post-patch: @@ -16,7 +18,7 @@ post-patch: ${MV} ${WRKSRC}/rtfm.c.done ${WRKSRC}/rtfm.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/rtfm ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/rtfm.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/rtfm ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/rtfm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" |