diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
commit | ba171a91fab519f587b027c1a2888cb6e3fce049 (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /print/adobeps-win | |
parent | 3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff) | |
download | pkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'print/adobeps-win')
-rw-r--r-- | print/adobeps-win/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/print/adobeps-win/Makefile b/print/adobeps-win/Makefile index 33ea43e387c..051a170c875 100644 --- a/print/adobeps-win/Makefile +++ b/print/adobeps-win/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2006/03/14 16:00:41 jlam Exp $ +# $NetBSD: Makefile,v 1.9 2008/06/12 02:14:43 joerg Exp $ DISTNAME= winsteng PKGNAME= adobeps-win-1.0.6 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.adobe.com/products/printerdrivers/windows.html COMMENT= Adobe PostScript MS Windows drivers for CUPS/Samba +PKG_DESTDIR_SUPPORT= user-destdir + BUILD_DEPENDS+= cabextract-[0-9]*:../../archivers/cabextract DEPENDS+= cups>=1.1.15:../../print/cups @@ -24,6 +26,8 @@ NTFILES= ADOBEPS5.DLL ADOBEPSU.DLL ADOBEPSU.HLP DEFPRTR2.PPD 9XFILES= ADFONTS.MFM ADOBEPS4.DRV ADOBEPS4.HLP ICONLIB.DLL PSMON.DLL DRIVERDIR= ${PREFIX}/share/cups/drivers +INSTALLATION_DIRS= ${DRIVERDIR} + post-extract: cd ${WRKSRC}; for dir in WinNT Windows; do \ ( cd $$dir; for file in *; do \ @@ -35,12 +39,11 @@ post-extract: done do-install: - ${INSTALL_DATA_DIR} ${DRIVERDIR} for file in ${NTFILES}; do \ - ${INSTALL_DATA} ${WRKSRC}/WinNT/$$file ${DRIVERDIR}; \ + ${INSTALL_DATA} ${WRKSRC}/WinNT/$$file ${DESTDIR}${DRIVERDIR}; \ done for file in ${9XFILES}; do \ - ${INSTALL_DATA} ${WRKSRC}/Windows/$$file ${DRIVERDIR}; \ + ${INSTALL_DATA} ${WRKSRC}/Windows/$$file ${DESTDIR}${DRIVERDIR}; \ done .include "../../mk/bsd.pkg.mk" |