summaryrefslogtreecommitdiff
path: root/print/ijs
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-27 13:33:02 +0000
committerjoerg <joerg>2010-01-27 13:33:02 +0000
commitf2b40ca35133150e4b287b17d21f14dc6825e736 (patch)
treee86910222647d76f5e2bd4897079074582eb18f7 /print/ijs
parentf7e7211c7e4468fdc1144effa629f681186e6a60 (diff)
downloadpkgsrc-f2b40ca35133150e4b287b17d21f14dc6825e736.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"