summaryrefslogtreecommitdiff
path: root/textproc/rman
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2009-12-12 18:00:19 +0000
committerasau <asau@pkgsrc.org>2009-12-12 18:00:19 +0000
commit53e037bda36042b3f31779af2f0dacb3e3b7e2eb (patch)
tree849224b004713cca17af0ae2d3bdaa2a8b293147 /textproc/rman
parent014591198fd47a9dbe823b1f2b0c8bda58e1df61 (diff)
downloadpkgsrc-53e037bda36042b3f31779af2f0dacb3e3b7e2eb.tar.gz
Support staged installation.
Diffstat (limited to 'textproc/rman')
-rw-r--r--textproc/rman/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/textproc/rman/Makefile b/textproc/rman/Makefile
index 16a67a43dd1..849a32a7cfc 100644
--- a/textproc/rman/Makefile
+++ b/textproc/rman/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2006/05/25 10:41:21 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2009/12/12 18:03:31 asau Exp $
DISTNAME= rman-3.2
CATEGORIES= textproc
@@ -8,8 +8,12 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://polyglotman.sourceforge.net/
COMMENT= Produces HTML from formatted and unformatted man pages
+PKG_DESTDIR_SUPPORT= user-destdir
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/rman ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/rman.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/rman ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/rman.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"