1998-11-20 05:15:15 +01:00
|
|
|
# New ports collection makefile for: psutils (letter)
|
1995-04-15 06:34:11 +02:00
|
|
|
# Date created: 21 September 1994
|
1996-05-13 17:41:00 +02:00
|
|
|
# Whom: jmz & David O'Brien (obrien@cs.ucdavis.edu)
|
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-09 19:50:59 +02:00
|
|
|
PORTNAME= psutils-${PAPERSIZE}
|
|
|
|
PORTVERSION= 1.17
|
2005-08-28 13:33:49 +02:00
|
|
|
PORTREVISION= 2
|
1996-11-17 09:45:20 +01:00
|
|
|
CATEGORIES= print
|
2002-06-13 01:13:06 +02:00
|
|
|
MASTER_SITES= ftp://ftp.dcs.ed.ac.uk/pub/ajcd/ \
|
|
|
|
ftp://ftp.knackered.org/pub/psutils/
|
2000-04-09 19:41:40 +02:00
|
|
|
DISTNAME= psutils-p17
|
1997-11-10 12:23:41 +01:00
|
|
|
|
1995-04-11 04:02:17 +02:00
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Utilities for manipulating PostScript documents
|
1994-09-22 01:05:50 +02:00
|
|
|
|
2002-11-04 00:22:11 +01:00
|
|
|
USE_PERL5= yes
|
1997-08-16 01:14:09 +02:00
|
|
|
WRKSRC= ${WRKDIR}/psutils
|
1996-08-02 02:13:21 +02:00
|
|
|
MAKE_FLAGS?= PAPER=${PAPERSIZE} -f
|
1996-11-17 09:45:20 +01:00
|
|
|
MAN1= psbook.1 psselect.1 pstops.1 epsffit.1 psnup.1 psresize.1 \
|
|
|
|
getafm.1 fixdlsrps.1 fixfmps.1 fixmacps.1 fixpsditps.1 \
|
|
|
|
fixpspps.1 fixtpps.1 fixwfwps.1 fixwpps.1 fixwwps.1 \
|
|
|
|
extractres.1 includeres.1 fixscribeps.1 psmerge.1
|
|
|
|
|
2005-08-28 13:33:49 +02:00
|
|
|
SCRIPTS_ENV+= PERL=${PERL}
|
|
|
|
|
2005-12-28 00:58:21 +01:00
|
|
|
CONFLICTS?= psutils-a4-*
|
|
|
|
|
1996-05-13 17:41:00 +02:00
|
|
|
.if !defined(PAPERSIZE)
|
1998-11-20 05:15:15 +01:00
|
|
|
PAPERSIZE=letter
|
1996-05-13 17:41:00 +02:00
|
|
|
PAPERSIZE_UNSPECIFIED= yes
|
|
|
|
.else
|
|
|
|
.if ${PAPERSIZE} != A3 && ${PAPERSIZE} != a3 && ${PAPERSIZE} != A4 \
|
2001-02-14 21:19:44 +01:00
|
|
|
&& ${PAPERSIZE} != a4 && ${PAPERSIZE} != A5 && ${PAPERSIZE} != a5 \
|
2000-10-19 04:37:02 +02:00
|
|
|
&& ${PAPERSIZE} != B4 && ${PAPERSIZE} != b4 \
|
1996-05-13 17:41:00 +02:00
|
|
|
&& ${PAPERSIZE} != B5 && ${PAPERSIZE} != b5 \
|
|
|
|
&& ${PAPERSIZE} != letter && ${PAPERSIZE} != legal \
|
|
|
|
&& ${PAPERSIZE} != ledger && ${PAPERSIZE} != tabloid \
|
|
|
|
&& ${PAPERSIZE} != statement && ${PAPERSIZE} != executive \
|
|
|
|
&& ${PAPERSIZE} != folio && ${PAPERSIZE} != quarto && ${PAPERSIZE} != 10x14
|
1998-11-20 05:15:15 +01:00
|
|
|
.BEGIN:
|
|
|
|
@${ECHO} "Error: invalid value for PAPERSIZE: \"${PAPERSIZE}\""
|
2000-10-19 04:37:02 +02:00
|
|
|
@${ECHO} "Possible values are: A3, A4 (default), A5, B4, B5, letter, legal,"
|
1998-11-20 05:15:15 +01:00
|
|
|
@${ECHO} " ledger, tabloid, statement, executive, folio, quarto, and 10x14."
|
|
|
|
@${FALSE}
|
1996-05-13 17:41:00 +02:00
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-fetch:
|
|
|
|
.if defined(PAPERSIZE_UNSPECIFIED)
|
1999-08-28 00:30:39 +02:00
|
|
|
@${ECHO_MSG} "Defaulting to ${PAPERSIZE} sized paper."
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "Set the environment variable PAPERSIZE if you want to use other sizes."
|
2000-10-19 04:37:02 +02:00
|
|
|
@${ECHO_MSG} "Possible values are: A3, A4, A5, B4, B5, letter, legal,"
|
1999-08-28 00:30:39 +02:00
|
|
|
@${ECHO_MSG} " ledger, tabloid, statement, executive, folio, quarto, and 10x14."
|
1996-05-13 17:41:00 +02:00
|
|
|
.endif
|
|
|
|
|
1994-09-22 01:05:50 +02:00
|
|
|
.include <bsd.port.mk>
|