summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-03-23 00:32:10 +0000
committerjoerg <joerg@pkgsrc.org>2009-03-23 00:32:10 +0000
commit1240b44708f4a525f77b09d95cbebd2c93930529 (patch)
treeb0a36d2a2b8f46db5567db1c41edd2419af245ac /textproc
parent22edeaef0ab77156fcaa15e02cff5d7831e03e34 (diff)
downloadpkgsrc-1240b44708f4a525f77b09d95cbebd2c93930529.tar.gz
DESTDIR support
Diffstat (limited to 'textproc')
-rw-r--r--textproc/texi2roff/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/textproc/texi2roff/Makefile b/textproc/texi2roff/Makefile
index 5f06483cbbd..edd742fc498 100644
--- a/textproc/texi2roff/Makefile
+++ b/textproc/texi2roff/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2007/01/07 09:14:14 rillig Exp $
+# $NetBSD: Makefile,v 1.10 2009/03/23 00:32:10 joerg Exp $
DISTNAME= texi2roff-2.0
CATEGORIES= textproc
@@ -8,11 +8,13 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://texinfo.org/texi2roff/
COMMENT= Texinfo-to-ROFF direct translator
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_TARGET=
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/texi2roff ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/texi2roff.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/texi2roff ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/texi2roff.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"