summaryrefslogtreecommitdiff
path: root/print/stylewriter/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/stylewriter/Makefile')
-rw-r--r--print/stylewriter/Makefile62
1 files changed, 0 insertions, 62 deletions
diff --git a/print/stylewriter/Makefile b/print/stylewriter/Makefile
deleted file mode 100644
index 376251a34ff..00000000000
--- a/print/stylewriter/Makefile
+++ /dev/null
@@ -1,62 +0,0 @@
-# $NetBSD: Makefile,v 1.14 2003/06/02 01:17:26 jschauma Exp $
-#
-
-DISTNAME= stylewriter
-PKGNAME= stylewriter-0.9.9
-PKGREVISION= 1
-CATEGORIES= print
-MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/
-
-MAINTAINER= tech-pkg@netbsd.org
-HOMEPAGE= http://www.pobox.com/~monroe/styl/
-COMMENT= Apple StyleWriter driver for un*x
-
-DEPENDS+= enscript>=1.6.1:../../print/enscript
-
-NO_CONFIGURE= yes
-
-PLIST_SRC= ${WRKDIR}/PLIST
-FILTER_DIR= libexec/stylewriter
-FILTERS= direct_stylpbm direct_stylps \
- stylascii stylascii.a4 \
- stylps stylps-color stylps-color.a4 stylps.a4
-FILTER_SED= -e "s,/usr/local/gnu/bin/gs,${LOCALBASE}/bin/gs,g" \
- -e "s,/usr/local,${PREFIX},g"
-PRINTCAP_SED= -e "s,/var/spool/stylps,/var/spool/lpd/stylps,g" \
- -e "s,/usr/local/sbin,${PREFIX}/libexec/stylewriter,g"
-
-post-extract:
- ${CP} ${FILESDIR}/Makefile ${WRKSRC}
-
-post-install:
- ${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
- ${INSTALL_DATA_DIR} ${PREFIX}/${FILTER_DIR}
- (cd ${WRKSRC}/scripts; \
- for FILTER in ${FILTERS}; do \
- ${SED} ${FILTER_SED} \
- < $${FILTER} > ${WRKDIR}/$${FILTER}; \
- ${INSTALL_SCRIPT} ${WRKDIR}/$${FILTER} \
- ${PREFIX}/${FILTER_DIR}/$${FILTER}; \
- ${RM} ${WRKDIR}/$${FILTER}; \
- done)
-
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/stylewriter
- for FILE in README README.protocol README.troubleshooting; do \
- ${INSTALL_DATA} ${WRKSRC}/$${FILE} \
- ${PREFIX}/share/doc/stylewriter; \
- done
-
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/stylewriter
- (cd ${WRKSRC}; \
- for PRINTCAP in printcap printcap.a4; do \
- ${SED} ${PRINTCAP_SED} \
- < $${PRINTCAP} > ${WRKDIR}/$${PRINTCAP}; \
- ${INSTALL_DATA} ${WRKDIR}/$${PRINTCAP} \
- ${PREFIX}/share/examples/stylewriter; \
- ${RM} ${WRKDIR}/$${PRINTCAP}; \
- done)
- ${INSTALL_DATA} ${WRKSRC}/styl.ppd ${PREFIX}/share/examples/stylewriter
- ${INSTALL_DATA_DIR} /var/spool/lpd/stylps
-
-.include "../../mk/ghostscript.mk"
-.include "../../mk/bsd.pkg.mk"