summaryrefslogtreecommitdiff
path: root/textproc/rtfm
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-02-16 19:03:18 +0000
committerjoerg <joerg@pkgsrc.org>2009-02-16 19:03:18 +0000
commitbb32d165565ce7c86a654a180563d9c6f1973e02 (patch)
tree6762ce7ae2569e8ad93bbab392a7375c7fd5b22d /textproc/rtfm
parent1d5cc86ec3418addfabc153493b1225e3719fa2b (diff)
downloadpkgsrc-bb32d165565ce7c86a654a180563d9c6f1973e02.tar.gz
DESTDIR support
Diffstat (limited to 'textproc/rtfm')
-rw-r--r--textproc/rtfm/Makefile8
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"