openbsd-ports/print/psutils/Makefile

54 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.27 2009/05/19 13:46:34 ajacoutot Exp $
1998-03-17 15:41:43 -05:00
COMMENT= manipulating PostScript documents
1998-03-17 15:41:43 -05:00
DISTNAME= psutils-p17
PKGNAME= psutils-0.17p1
1998-03-17 15:41:43 -05:00
CATEGORIES= print
2002-10-28 08:40:41 -05:00
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=support/psutils/}
1998-03-17 15:41:43 -05:00
HOMEPAGE= http://gershwin.ens.fr/vdaniel/Doc-Locale/Outils-Gnu-Linux/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
2005-03-23 15:19:54 -05:00
WANTLIB= c
2000-03-22 23:12:04 -05:00
WRKDIST= ${WRKDIR}/psutils
1998-03-17 15:41:43 -05:00
FLAVORS=a3 a4 a5 b5 letter legal ledger tabloid statement executive \
folio quarto s10x14
1998-03-17 15:41:43 -05:00
FLAVOR?=letter
.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= \
2000-03-12 13:03:57 -05:00
BINDIR=${PREFIX}/bin \
INCLUDEDIR=${PREFIX}/share/psutils \
MANDIR=${PREFIX}/man/man1 \
2000-12-23 15:51:22 -05:00
PERL=/usr/bin/perl CC=cc CFLAGS='${CFLAGS}' \
PAPER=${FLAVOR:L}
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}' \
PAPER=${FLAVOR:L}
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>