2002-10-28 08:40:41 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2002/10/28 13:40:41 naddy Exp $
|
1998-03-17 15:41:43 -05:00
|
|
|
|
2001-05-05 23:19:44 -04:00
|
|
|
COMMENT= "manipulating PostScript documents"
|
|
|
|
|
1998-03-17 15:41:43 -05:00
|
|
|
DISTNAME= psutils-p17
|
|
|
|
CATEGORIES= print
|
2002-10-28 08:40:41 -05:00
|
|
|
|
2001-09-21 13:37:48 -04:00
|
|
|
MASTER_SITES= ftp://ftp.tardis.ed.ac.uk/users/ajcd/
|
1998-03-17 15:41:43 -05:00
|
|
|
|
2002-05-23 14:11:34 -04:00
|
|
|
HOMEPAGE= http://www.tardis.ed.ac.uk/~ajcd/psutils/
|
1998-03-17 15:41:43 -05:00
|
|
|
|
2000-03-22 23:12:04 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2000-02-10 15:11:52 -05:00
|
|
|
WRKDIST= ${WRKDIR}/psutils
|
1998-03-17 15:41:43 -05:00
|
|
|
|
2000-02-10 15:11:52 -05:00
|
|
|
POSSIBLE_SIZES=a3 a4 a5 b5 letter legal ledger tabloid statement executive \
|
|
|
|
folio quarto 10x14
|
1998-03-17 15:41:43 -05:00
|
|
|
|
2000-02-10 15:11:52 -05:00
|
|
|
.if !defined(PAPERSIZE) && !defined(NO_WARNINGS)
|
|
|
|
pre-configure:
|
1998-03-17 15:41:43 -05:00
|
|
|
@echo "Defaulting to ${PAPERSIZE} sized paper."
|
|
|
|
@echo ""
|
|
|
|
@echo "Set the environment variable PAPERSIZE if you want to use other sizes."
|
|
|
|
@echo "Possible values are: A3, A4 (default), A5, B5, letter, legal,"
|
|
|
|
@echo " ledger, tabloid, statement, executive, folio, quarto, and 10x14."
|
2000-02-10 15:11:52 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
PAPERSIZE?=a4
|
|
|
|
|
|
|
|
# Set PP in for loop, forces evaluation
|
|
|
|
.for PP in ${PAPERSIZE:L}
|
|
|
|
.if empty(POSSIBLE_SIZES:M${PP})
|
2001-07-18 06:59:00 -04:00
|
|
|
ERRORS+="Fatal: invalid value for PAPERSIZE: \"${PAPERSIZE}\"" \
|
|
|
|
" Possible values are: A3, A4 (default), A5, B5, letter, legal," \
|
|
|
|
" ledger, tabloid, statement, executive, folio, quarto, and 10x14."
|
1998-12-16 15:08:42 -05:00
|
|
|
.endif
|
2000-02-10 15:11:52 -05:00
|
|
|
PKGNAME= psutils-1.17-${PP}
|
|
|
|
MAKE_FLAGS= \
|
2000-03-12 13:03:57 -05:00
|
|
|
BINDIR=${PREFIX}/bin \
|
|
|
|
INCLUDEDIR=${PREFIX}/share/psutils \
|
2000-02-10 15:11:52 -05:00
|
|
|
MANDIR=${PREFIX}/man/man1 \
|
2000-12-23 15:51:22 -05:00
|
|
|
PERL=/usr/bin/perl CC=cc CFLAGS='${CFLAGS}' \
|
2000-02-11 19:43:57 -05:00
|
|
|
PAPER=${PP}
|
2000-03-12 13:03:57 -05:00
|
|
|
FAKE_FLAGS= \
|
|
|
|
BINDIR=${WRKINST}${PREFIX}/bin \
|
|
|
|
INCLUDEDIR=${WRKINST}${PREFIX}/share/psutils \
|
|
|
|
MANDIR=${WRKINST}${PREFIX}/man/man1 \
|
2000-12-23 15:51:22 -05:00
|
|
|
PERL=/usr/bin/perl CC=cc CFLAGS='${CFLAGS}' \
|
2000-03-12 13:03:57 -05:00
|
|
|
PAPER=${PP}
|
2000-02-10 15:11:52 -05:00
|
|
|
.endfor
|
|
|
|
|
2000-02-22 12:08:31 -05:00
|
|
|
MAKE_FILE=Makefile.unix
|
1998-03-17 15:41:43 -05:00
|
|
|
|
2002-10-28 08:40:41 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
1998-03-17 15:41:43 -05:00
|
|
|
.include <bsd.port.mk>
|