summaryrefslogtreecommitdiff
path: root/print/a2ps/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/a2ps/Makefile')
-rw-r--r--print/a2ps/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/print/a2ps/Makefile b/print/a2ps/Makefile
index 5c07ff45d9b..864a3712785 100644
--- a/print/a2ps/Makefile
+++ b/print/a2ps/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.36 2002/07/06 13:29:09 tron Exp $
+# $NetBSD: Makefile,v 1.37 2002/11/26 11:02:05 jmmv Exp $
DISTNAME= a2ps-4.13b
PKGNAME= a2ps-4.13.0.2
+PKGREVISION= 1
WRKSRC= ${WRKDIR}/a2ps-4.13
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_GNU:=a2ps/} \
@@ -12,7 +13,7 @@ HOMEPAGE= http://www-inf.enst.fr/~demaille/a2ps/
COMMENT= Formats an ascii file for printing on a postscript printer
DEPENDS+= papersize>=1.0.2:../../print/papersize
-DEPENDS+= psutils-1.17:../../print/psutils
+DEPENDS+= psutils>=1.17:../../print/psutils
STRIP= # empty
USE_PERL5= YES
@@ -23,8 +24,13 @@ LTCONFIG_OVERRIDE= ${WRKSRC}/auxdir/ltconfig
GNU_CONFIGURE= YES
CONFIGURE_ENV+= LPR=lpr
CONFIGURE_ARGS+= --with-medium="${PAPERSIZE}"
+CONFIGURE_ARGS+= --sysconfdir="${PKG_SYSCONFDIR}"
AUTOMAKE_OVERRIDE= NO
+EGDIR= ${PREFIX}/share/examples/a2ps
+CONF_FILES= ${EGDIR}/a2ps-site.cfg ${PKG_SYSCONFDIR}/a2ps-site.cfg
+CONF_FILES+= ${EGDIR}/a2ps.cfg ${PKG_SYSCONFDIR}/a2ps.cfg
+
INFO_FILES= a2ps.info ogonkify.info regex.info
pre-build:
@@ -32,4 +38,5 @@ pre-build:
${TOUCH} ${WRKSRC}/doc/*.dvi
.include "../../mk/texinfo.mk"
+.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"