1998-11-20 04:15:15 +00:00
|
|
|
# New ports collection makefile for: a2ps (letter)
|
1998-07-16 04:48:58 +00:00
|
|
|
# Version required: 4.10.3
|
|
|
|
# Date created: 15 July 1998
|
1997-08-19 03:44:07 +00:00
|
|
|
# Whom: Chuck Robey (chuckr@freebsd.org)
|
1995-04-15 04:34:11 +00:00
|
|
|
#
|
1999-08-31 01:53:22 +00:00
|
|
|
# $FreeBSD$
|
1995-04-15 04:34:11 +00:00
|
|
|
#
|
|
|
|
|
1999-03-20 02:56:13 +00:00
|
|
|
DISTNAME= a2ps-4.12
|
|
|
|
PKGNAME= a2ps-${PAPERSIZE}-4.12
|
1996-11-17 08:45:20 +00:00
|
|
|
CATEGORIES= print
|
1999-04-17 16:12:02 +00:00
|
|
|
MASTER_SITES= http://www.freebsd.org/~chuckr/ \
|
|
|
|
http://www-inf.enst.fr/~demaille/ftp/a2ps/
|
1998-11-22 07:45:55 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} sheets.map.fixed
|
1995-04-15 04:34:11 +00:00
|
|
|
|
1997-08-19 03:44:07 +00:00
|
|
|
MAINTAINER= chuckr@FreeBSD.org
|
1994-11-06 02:13:39 +00:00
|
|
|
|
1997-08-19 03:44:07 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1998-11-22 07:45:55 +00:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
1999-04-20 20:30:01 +00:00
|
|
|
MAN1= a2ps.1 ogonkify.1 card.1 psmandup.1 fixps.1 pdiff.1 psset.1
|
1996-05-27 08:48:10 +00:00
|
|
|
|
1998-11-20 04:15:15 +00:00
|
|
|
PAPERSIZE?= letter
|
1998-11-22 01:56:20 +00:00
|
|
|
PAPERSIZECNF= ${PAPERSIZE:S/l/L/:S/a/A/}
|
1997-08-19 03:44:07 +00:00
|
|
|
STRIP=
|
1999-04-20 20:30:01 +00:00
|
|
|
CONFIGURE_ARGS= --with-medium=${PAPERSIZECNF} --sharedstatedir=$(PREFIX)/share --sysconfdir=$(PREFIX)/etc --datadir=$(PREFIX)/share --localstatedir=$(PREFIX)/share
|
1996-05-27 08:48:10 +00:00
|
|
|
|
1998-11-20 04:15:15 +00:00
|
|
|
.if ${PAPERSIZE} != a4 && ${PAPERSIZE} != letter && ${PAPERSIZE} != letterdj
|
|
|
|
.BEGIN:
|
1998-02-15 21:24:52 +00:00
|
|
|
@${ECHO}
|
1998-02-26 02:16:32 +00:00
|
|
|
@${ECHO} "PAPERSIZE incorrect value: ${PAPERSIZE}."
|
1998-02-15 21:24:52 +00:00
|
|
|
@${ECHO}
|
1998-11-20 04:15:15 +00:00
|
|
|
@${ECHO} "Must specify PAPERSIZE as one of a4, letter, or letterdj."
|
|
|
|
@${ECHO} "letterdj allows a slightly larger margins for DeskJets."
|
|
|
|
@${FALSE}
|
1997-08-19 03:44:07 +00:00
|
|
|
.endif
|
1998-02-26 02:16:32 +00:00
|
|
|
|
1998-11-22 07:45:55 +00:00
|
|
|
post-extract:
|
|
|
|
$(CP) $(DISTDIR)/sheets.map.fixed $(WRKSRC)/sheets/sheets.map
|
|
|
|
|
1998-02-26 02:16:32 +00:00
|
|
|
post-install:
|
|
|
|
strip ${PREFIX}/bin/a2ps
|
1998-07-21 13:48:37 +00:00
|
|
|
(cd ${WRKSRC}/doc; ${MAKE} install)
|
1998-11-22 07:45:55 +00:00
|
|
|
$(RM) -f $(PREFIX)/lib/liba2ps.la
|
1996-05-27 08:48:10 +00:00
|
|
|
|
1994-11-06 02:13:39 +00:00
|
|
|
.include <bsd.port.mk>
|