1998-11-20 04:15:15 +00:00
|
|
|
# New ports collection makefile for: a2ps (letter)
|
1998-07-16 04:48:58 +00:00
|
|
|
# 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
|
|
|
#
|
|
|
|
|
2000-04-15 11:02:14 +00:00
|
|
|
PORTNAME= a2ps
|
2000-04-09 17:50:59 +00:00
|
|
|
PORTVERSION= 4.12
|
1996-11-17 08:45:20 +00:00
|
|
|
CATEGORIES= print
|
2000-02-08 09:29:51 +00:00
|
|
|
MASTER_SITES= http://people.FreeBSD.org/~chuckr/ \
|
2000-01-10 20:59:06 +00:00
|
|
|
ftp://ftp.enst.fr/pub/unix/a2ps/
|
2000-04-15 11:02:14 +00:00
|
|
|
PKGNAMESUFFIX= -${PAPERSIZE}
|
2000-04-09 17:41:40 +00:00
|
|
|
DISTFILES= a2ps-${PORTVERSION}${EXTRACT_SUFX} sheets.map
|
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
|
2000-06-16 08:19:52 +00:00
|
|
|
INSTALLS_SHLIBS= 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:
|
2000-01-10 20:59:06 +00:00
|
|
|
$(CP) $(DISTDIR)/sheets.map $(WRKSRC)/sheets/sheets.map
|
1998-11-22 07:45:55 +00:00
|
|
|
|
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>
|