1998-11-20 05:15:15 +01:00
|
|
|
# New ports collection makefile for: a2ps (letter)
|
1998-07-16 06:48:58 +02:00
|
|
|
# Date created: 15 July 1998
|
1997-08-19 05:44:07 +02:00
|
|
|
# Whom: Chuck Robey (chuckr@freebsd.org)
|
1995-04-15 06:34:11 +02:00
|
|
|
#
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
1995-04-15 06:34:11 +02:00
|
|
|
#
|
|
|
|
|
2000-04-15 13:02:14 +02:00
|
|
|
PORTNAME= a2ps
|
2000-09-22 05:42:35 +02:00
|
|
|
PORTVERSION= 4.13
|
2001-11-21 13:36:40 +01:00
|
|
|
PORTREVISION= 1
|
1996-11-17 09:45:20 +01:00
|
|
|
CATEGORIES= print
|
2002-07-04 06:45:54 +02:00
|
|
|
MASTER_SITES= ftp://ftp.enst.fr/pub/unix/a2ps/ \
|
|
|
|
${MASTER_SITE_GNU}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2000-04-15 13:02:14 +02:00
|
|
|
PKGNAMESUFFIX= -${PAPERSIZE}
|
2000-04-09 19:41:40 +02:00
|
|
|
DISTFILES= a2ps-${PORTVERSION}${EXTRACT_SUFX} sheets.map
|
2000-09-22 05:42:35 +02:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
1995-04-15 06:34:11 +02:00
|
|
|
|
2003-06-10 20:18:38 +02:00
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Formats an ascii file for printing on a postscript printer
|
1994-11-06 03:13:39 +01:00
|
|
|
|
2002-11-04 02:49:18 +01:00
|
|
|
USE_PERL5= yes
|
1997-08-19 05:44:07 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-11-03 04:02:52 +01:00
|
|
|
MAN1= a2ps.1 ogonkify.1 card.1 psmandup.1 fixps.1 pdiff.1 psset.1 texi2dvi4a2ps.1
|
1996-05-27 10:48:10 +02:00
|
|
|
|
1998-11-20 05:15:15 +01:00
|
|
|
PAPERSIZE?= letter
|
1998-11-22 02:56:20 +01:00
|
|
|
PAPERSIZECNF= ${PAPERSIZE:S/l/L/:S/a/A/}
|
1997-08-19 05:44:07 +02:00
|
|
|
STRIP=
|
1999-04-20 22:30:01 +02:00
|
|
|
CONFIGURE_ARGS= --with-medium=${PAPERSIZECNF} --sharedstatedir=$(PREFIX)/share --sysconfdir=$(PREFIX)/etc --datadir=$(PREFIX)/share --localstatedir=$(PREFIX)/share
|
1996-05-27 10:48:10 +02:00
|
|
|
|
1998-11-20 05:15:15 +01:00
|
|
|
.if ${PAPERSIZE} != a4 && ${PAPERSIZE} != letter && ${PAPERSIZE} != letterdj
|
|
|
|
.BEGIN:
|
1998-02-15 22:24:52 +01:00
|
|
|
@${ECHO}
|
1998-02-26 03:16:32 +01:00
|
|
|
@${ECHO} "PAPERSIZE incorrect value: ${PAPERSIZE}."
|
1998-02-15 22:24:52 +01:00
|
|
|
@${ECHO}
|
1998-11-20 05:15:15 +01: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 05:44:07 +02:00
|
|
|
.endif
|
1998-02-26 03:16:32 +01:00
|
|
|
|
1998-11-22 08:45:55 +01:00
|
|
|
post-extract:
|
2000-01-10 21:59:06 +01:00
|
|
|
$(CP) $(DISTDIR)/sheets.map $(WRKSRC)/sheets/sheets.map
|
1998-11-22 08:45:55 +01:00
|
|
|
|
1998-02-26 03:16:32 +01:00
|
|
|
post-install:
|
|
|
|
strip ${PREFIX}/bin/a2ps
|
1998-07-21 15:48:37 +02:00
|
|
|
(cd ${WRKSRC}/doc; ${MAKE} install)
|
1998-11-22 08:45:55 +01:00
|
|
|
$(RM) -f $(PREFIX)/lib/liba2ps.la
|
1996-05-27 10:48:10 +02:00
|
|
|
|
1994-11-06 03:13:39 +01:00
|
|
|
.include <bsd.port.mk>
|