openbsd-ports/print/psutils/Makefile
2006-07-13 17:39:19 +00:00

55 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.23 2006/07/13 17:39:19 steven Exp $
COMMENT= "manipulating PostScript documents"
DISTNAME= psutils-p17
PKGNAME= psutils-0.17p0
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=support/psutils/} \
ftp://ftp.tardis.ed.ac.uk/users/ajcd/
HOMEPAGE= http://gershwin.ens.fr/vdaniel/Doc-Locale/Outils-Gnu-Linux/PsUtils/
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
WRKDIST= ${WRKDIR}/psutils
FLAVORS=a3 a4 a5 b5 letter legal ledger tabloid statement executive \
folio quarto s10x14
FLAVOR?=a4
.for i in ${FLAVORS}
. if ${FLAVOR:L} == $i
OK=Yes
. endif
.endfor
OK?=No
.if ${OK} == "No"
ERRORS+="Fatal: Invalid flavor ${FLAVOR}"
.endif
MAKE_FLAGS= \
BINDIR=${PREFIX}/bin \
INCLUDEDIR=${PREFIX}/share/psutils \
MANDIR=${PREFIX}/man/man1 \
PERL=/usr/bin/perl CC=cc CFLAGS='${CFLAGS}' \
PAPER=${FLAVOR:L}
FAKE_FLAGS= \
BINDIR=${WRKINST}${PREFIX}/bin \
INCLUDEDIR=${WRKINST}${PREFIX}/share/psutils \
MANDIR=${WRKINST}${PREFIX}/man/man1 \
PERL=/usr/bin/perl CC=cc CFLAGS='${CFLAGS}' \
PAPER=${FLAVOR:L}
MAKE_FILE=Makefile.unix
NO_REGRESS= Yes
.include <bsd.port.mk>