summaryrefslogtreecommitdiff
path: root/graphics/hp2xx
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-03 22:58:38 +0000
committerjoerg <joerg>2010-02-03 22:58:38 +0000
commitddcff3850c190526cfc895ae34e8e1505b95ea4d (patch)
tree08b492325c68d19875956cdf1af9a3c837497c61 /graphics/hp2xx
parent47a79005d31fbbd7b746886fd62fe7fc3b8c03ec (diff)
downloadpkgsrc-ddcff3850c190526cfc895ae34e8e1505b95ea4d.tar.gz
DESTDIR support
Diffstat (limited to 'graphics/hp2xx')
-rw-r--r--graphics/hp2xx/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/graphics/hp2xx/Makefile b/graphics/hp2xx/Makefile
index 08f66448618..bc12910c10a 100644
--- a/graphics/hp2xx/Makefile
+++ b/graphics/hp2xx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2010/01/18 09:59:02 wiz Exp $
+# $NetBSD: Makefile,v 1.38 2010/02/03 22:59:13 joerg Exp $
#
DISTNAME= hp2xx-3.4.4
@@ -10,14 +10,20 @@ MAINTAINER= dmcmahill@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/hp2xx/hp2xx.html
COMMENT= HPGL converter and previewer
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_DIRS= sources
USE_TOOLS+= makeinfo
-MAKE_FLAGS= prefix=${PREFIX:Q} \
- mandir=${PREFIX:Q}/${PKGMANDIR:Q} \
- infodir=${PREFIX:Q}/${PKGINFODIR:Q}
+MAKE_FLAGS= prefix=${PREFIX} \
+ mandir=${PREFIX}/${PKGMANDIR} \
+ infodir=${PREFIX}/${PKGINFODIR}
MAKE_ENV+= XLDFLAGS=${LDFLAGS:Q} XCPPFLAGS=${CPPFLAGS:Q}
INFO_FILES= # PLIST
+INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
+ mandir=${DESTDIR}${PREFIX}/${PKGMANDIR} \
+ infodir=${DESTDIR}${PREFIX}/${PKGINFODIR}
+
INSTALLATION_DIRS= bin ${PKGINFODIR} ${PKGMANDIR}/man1
post-extract: