2005-12-17 06:20:21 +01:00
|
|
|
# $NetBSD: Makefile,v 1.6 2005/12/17 05:20:22 jlam Exp $
|
2003-05-28 10:25:06 +02:00
|
|
|
|
|
|
|
DISTNAME= winsteng
|
|
|
|
PKGNAME= adobeps-win-1.0.6
|
2004-03-26 03:27:34 +01:00
|
|
|
PKGREVISION= 1
|
2003-05-28 10:25:06 +02:00
|
|
|
CATEGORIES= print
|
|
|
|
MASTER_SITES= ftp://ftp.adobe.com/pub/adobe/printerdrivers/win/1.x/
|
|
|
|
EXTRACT_SUFX= .exe
|
|
|
|
|
2005-12-17 06:20:21 +01:00
|
|
|
MAINTAINER= jlam@pkgsrc.org
|
2003-05-28 10:25:06 +02:00
|
|
|
HOMEPAGE= http://www.adobe.com/products/printerdrivers/windows.html
|
|
|
|
COMMENT= Adobe PostScript MS Windows drivers for CUPS/Samba
|
|
|
|
|
|
|
|
BUILD_DEPENDS+= cabextract-[0-9]*:../../archivers/cabextract
|
2003-05-28 11:13:30 +02:00
|
|
|
DEPENDS+= cups>=1.1.15:../../print/cups
|
2003-05-28 10:25:06 +02:00
|
|
|
|
|
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
EXTRACT_CMD= ${LOCALBASE}/bin/cabextract ${DOWNLOADED_DISTFILE}
|
|
|
|
NO_CONFIGURE= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
cd ${WRKSRC}; for dir in WinNT Windows; do \
|
|
|
|
( cd $$dir; for file in *; do \
|
|
|
|
cap=`${ECHO} $$file | ${TR} '[a-z]' '[A-Z]'`; \
|
2005-06-06 22:43:52 +02:00
|
|
|
if [ $$file != $$cap ]; then \
|
|
|
|
${MV} $$file $$cap; \
|
|
|
|
fi; \
|
2003-05-28 10:25:06 +02:00
|
|
|
done ); \
|
|
|
|
done
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${DRIVERDIR}
|
|
|
|
for file in ${NTFILES}; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/WinNT/$$file ${DRIVERDIR}; \
|
|
|
|
done
|
|
|
|
for file in ${9XFILES}; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Windows/$$file ${DRIVERDIR}; \
|
|
|
|
done
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|