summaryrefslogtreecommitdiff
path: root/print/ijs
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-27 13:33:02 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-27 13:33:02 +0000
commitdf9ef3d934241cd721456a3f242a26a8aaba67f6 (patch)
treee86910222647d76f5e2bd4897079074582eb18f7 /print/ijs
parent9310ccc9b6b5914e821612b4d25b89bfed98e72c (diff)
downloadpkgsrc-df9ef3d934241cd721456a3f242a26a8aaba67f6.tar.gz
DESTDIR support.
Diffstat (limited to 'print/ijs')
-rw-r--r--print/ijs/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/print/ijs/Makefile b/print/ijs/Makefile
index 2c39e0640b4..3acf09f357b 100644
--- a/print/ijs/Makefile
+++ b/print/ijs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/07/07 19:01:43 drochner Exp $
+# $NetBSD: Makefile,v 1.16 2010/01/27 13:33:02 joerg Exp $
DISTNAME= ijs-0.35
CATEGORIES= print
@@ -8,6 +8,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.linuxprinting.org/ijs/
COMMENT= Protocol library for raster page transmission
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
@@ -17,8 +19,9 @@ MAKE_ENV+= XCFLAGS=${CFLAGS:M*:Q}
MAKE_ENV+= IJS_VERSION_INFO="0:0"
PKGCONFIG_OVERRIDE= ijs.pc.in
+INSTALLATION_DIRS= share/doc/ijs
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ijs
- ${INSTALL_DATA} ${WRKSRC}/ijs_spec.pdf ${PREFIX}/share/doc/ijs
+ ${INSTALL_DATA} ${WRKSRC}/ijs_spec.pdf ${DESTDIR}${PREFIX}/share/doc/ijs
.include "../../mk/bsd.pkg.mk"