diff options
author | tron <tron@pkgsrc.org> | 1998-07-05 10:09:58 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1998-07-05 10:09:58 +0000 |
commit | daa17e5cf59e899dbca14643f92ae94c6a41f78f (patch) | |
tree | 55ef7173157a7cd3415a52a567df42424875c54f /print | |
parent | 13c775afb2fe6fd3e4413abbac072852e3438c10 (diff) | |
download | pkgsrc-daa17e5cf59e899dbca14643f92ae94c6a41f78f.tar.gz |
Fix dependence for "a2ps" package and install filter configuration files
in "${PREFIX}/libexec/magicfilter".
Diffstat (limited to 'print')
-rw-r--r-- | print/magicfilter/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/print/magicfilter/Makefile b/print/magicfilter/Makefile index 68afe28b572..7870f38862f 100644 --- a/print/magicfilter/Makefile +++ b/print/magicfilter/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 1998/07/04 09:26:16 mycroft Exp $ +# $NetBSD: Makefile,v 1.3 1998/07/05 10:09:58 tron Exp $ DISTNAME= magicfilter-1.2 CATEGORIES= print @@ -7,7 +7,7 @@ MASTER_SITE_SUBDIR= system/printing MAINTAINER= tron@netbsd.org -DEPENDS+= a2ps-${PAPERSIZE}-4.9.9:../../print/a2ps \ +DEPENDS+= a2ps-${PAPERSIZE}-4.10.3:../../print/a2ps \ ghostscript-5.10:../../print/ghostscript5 \ netpbm-19940301:../../graphics/netpbm \ teTeX-0.4p8:../../print/teTeX @@ -17,13 +17,17 @@ GNU_CONFIGURE= yes PLIST_SRC= ${WRKDIR}/PLIST +FILTER_DIR= libexec/magicfilter + post-install: @${CP} ${PKGDIR}/PLIST ${PLIST_SRC} + @${MKDIR} ${PREFIX}/${FILTER_DIR} @(cd ${WRKSRC}/filters; \ for FILTER in *-filter; do \ - ${ECHO} ${INSTALL_SCRIPT} $$FILTER ${PREFIX}/libexec; \ - ${INSTALL_SCRIPT} $$FILTER ${PREFIX}/libexec; \ - ${ECHO} libexec/$$FILTER >>${PLIST_SRC}; \ + ${ECHO} ${INSTALL_SCRIPT} $$FILTER ${PREFIX}/${FILTER_DIR}; \ + ${INSTALL_SCRIPT} $$FILTER ${PREFIX}/${FILTER_DIR}; \ + ${ECHO} ${FILTER_DIR}/$$FILTER >>${PLIST_SRC}; \ done) + ${ECHO} "@dirrm ${FILTER_DIR}" >>${PLIST_SRC} .include "../../mk/bsd.pkg.mk" |