pkgsrc/print/apsfilter/Makefile
martti 928dec5c5c Updated apsfilter to 7.1.1
* a new apspreview script, that allows you to preview your print session
  using gv, kghostview or ghostview
* a new apsfilter-bug script that assists you in releasing bug reports
* some handbook and manpage updates / fixes
* new drivers
* driver fixes

http://www.apsfilter.org/download/ChangeLog-7.1.1
2002-01-10 06:53:02 +00:00

41 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2002/01/10 06:53:02 martti Exp $
#
DISTNAME= apsfilter-7.1.1
CATEGORIES= print
MASTER_SITES= http://www.apsfilter.org/download/
MAINTAINER= zuntum@netbsd.org,jmcneill@invisible.yi.org
HOMEPAGE= http://www.apsfilter.org/
COMMENT= number one magic filter for printing under Unix environment
DEPENDS= recode-[0-9]*:../../converters/recode
DEPENDS+= ghostscript>=6.01:../../print/ghostscript
#DEPENDS+= html2ps-[0-9]*:../../print/html2ps
DEPENDS+= transfig-[0-9]*:../../print/transfig
DEPENDS+= jpeg-6b:../../graphics/jpeg
DEPENDS+= netpbm-[0-9]*:../../graphics/netpbm
DEPENDS+= a2ps-[0-9]*:../../print/a2ps
DEPENDS+= psutils-[0-9]*:../../print/psutils
DEINSTALL_FILE= ${WRKDIR}/.DEINSTALL
WRKSRC= ${WRKDIR}/apsfilter
HAS_CONFIGURE= YES
USE_BZIP2= YES
CONFIGURE_ARGS+=--prefix=${LOCALBASE}
CONFIGURE_ARGS+=--with-shell=${SH}
post-patch:
for i in bin/apsfilter.in SETUP.in tools/prtmgmt; do \
${SED} "s,/usr/local,${LOCALBASE},g" ${WRKSRC}/$$i \
> ${WRKSRC}/$$i.done; \
${MV} ${WRKSRC}/$$i.done ${WRKSRC}/$$i; \
done
${SED} "s,@LOCALBASE@,${LOCALBASE},g" ${PKGDIR}/DEINSTALL \
> ${DEINSTALL_FILE}
.include "../../mk/bsd.pkg.mk"