summaryrefslogtreecommitdiff
path: root/textproc/par
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-12 02:14:13 +0000
committerjoerg <joerg>2008-06-12 02:14:13 +0000
commit39d7fb93432416d872ed34e0025741cc93068c06 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /textproc/par
parentcce8b72ae5b66d3a54ac565ef8ac6780597301bc (diff)
downloadpkgsrc-39d7fb93432416d872ed34e0025741cc93068c06.tar.gz
Add DESTDIR support.
Diffstat (limited to 'textproc/par')
-rw-r--r--textproc/par/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/textproc/par/Makefile b/textproc/par/Makefile
index 943640233d8..961ddac4b8d 100644
--- a/textproc/par/Makefile
+++ b/textproc/par/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2007/01/07 09:14:13 rillig Exp $
+# $NetBSD: Makefile,v 1.16 2008/06/12 02:14:51 joerg Exp $
DISTNAME= Par152
PKGNAME= par-1.52
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.nicemice.net/par/
COMMENT= Paragraph reformatter, vaguely similar to fmt, but better
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_TARGET=
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
@@ -16,7 +18,7 @@ do-configure:
(cd ${WRKSRC}; ${CP} protoMakefile Makefile)
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/par ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/par.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/par ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/par.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"