summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/a2ps/Makefile36
1 files changed, 6 insertions, 30 deletions
diff --git a/print/a2ps/Makefile b/print/a2ps/Makefile
index 8bbb93f9e6e..d2b98315554 100644
--- a/print/a2ps/Makefile
+++ b/print/a2ps/Makefile
@@ -1,53 +1,29 @@
-# $NetBSD: Makefile,v 1.18 1998/08/20 15:17:23 tsarna Exp $
+# $NetBSD: Makefile,v 1.19 1998/11/09 18:04:52 agc Exp $
# FreeBSD Id: Makefile,v 1.12 1998/02/15 21:24:42 steve Exp
#
DISTNAME= a2ps-4.10.3
-PKGNAME= a2ps-${PAPERSIZE}-4.10.3
CATEGORIES= print
MASTER_SITES= http://www-inf.enst.fr/~demaille/ftp/a2ps/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www-inf.enst.fr/~demaille/a2ps/
+DEPENDS= papersize-1.0:../../print/papersize
+
CONFLICTS= a2ps-A4-4.9.9 a2ps-Letter-4.9.9 a2ps-Letterdj-4.9.9
+CONFLICTS+= a2ps-A4-4.10.3 a2ps-Letter-4.10.3 a2ps-Letterdj-4.10.3
STRIP=
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-medium=${PAPERSIZE}
CONFIGURE_ENV+= LPR=lpr
-USE_PERL5= YES
-USE_GTEXINFO= YES
+USE_PERL5= yes
+USE_GTEXINFO= yes
USE_LIBTOOL= yes
INFO_FILES= a2ps.info ogonkify.info regex.info
-ALL_TARGET= all PAPERSIZE=${PAPERSIZE}
-
-PAPERSIZE?= A4
-
pre-build:
${TOUCH} ${WRKSRC}/doc/*.info
${TOUCH} ${WRKSRC}/doc/*.dvi
-pre-configure:
- @(case "X${PAPERSIZE}" in \
- XA4|XLetter|XLetterdj) \
- goodsize=yes; \
- ;; \
- *) \
- goodsize=no; \
- ${ECHO} "PAPERSIZE incorrect value: ${PAPERSIZE}."; \
- ;; \
- esac; \
- if [ $$goodsize = "no" ]; then \
- ${ECHO} ""; \
- ${ECHO} "Must specify PAPERSIZE as one of A4, Letter,"; \
- ${ECHO} "or Letterdj, either in the environment, or "; \
- ${ECHO} "via Makefile definitions of the same name. "; \
- ${ECHO} "Note that each PAPERSIZE has a leading "; \
- ${ECHO} "capital letter, and Letterdj allows a "; \
- ${ECHO} "slightly larger margins for DeskJets."; \
- ${FALSE}; \
- fi)
-
.include "../../mk/bsd.pkg.mk"