openbsd-ports/print/a2ps/Makefile

48 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.24 2000/07/04 01:33:56 krw Exp $
2000-04-11 02:09:57 -04:00
DISTNAME= a2ps-4.13b
WRKDIST= ${WRKDIR}/a2ps-4.13
CATEGORIES= print
NEED_VERSION= 1.310
MAINTAINER= weingart@OpenBSD.org
# License info. There is some questionable Sun and
# Adobe Copyrighted things in this source tree. It
# looks fine for FTP, but likely not for the CDROM.
PERMIT_PACKAGE_CDROM= "No fee redistribution."
PERMIT_DISTFILES_CDROM= "No fee redistribution."
2000-03-05 13:30:21 -05:00
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_FTP= Yes
2000-02-12 03:02:07 -05:00
MASTER_SITES= ftp://ftp.enst.fr/pub/unix/a2ps/
CONFIGURE_STYLE= gnu
2000-04-22 08:12:07 -04:00
FLAVORS= a4 letter letterdj
FLAVOR?= letter
2000-04-22 08:12:07 -04:00
.if defined(FLAVOR)
.if ${FLAVOR:L} == "a4"
2000-04-22 08:12:07 -04:00
PAPERSIZE= A4
.elif ${FLAVOR:L} == "letterdj"
2000-04-22 08:12:07 -04:00
PAPERSIZE= Letterdj
.elif ${FLAVOR:L} == "letter"
2000-04-22 08:12:07 -04:00
PAPERSIZE= Letter
.endif
.endif
CONFIGURE_ARGS+= --with-medium=$(PAPERSIZE) \
${CONFIGURE_SHARED}
pre-build:
/usr/bin/touch $(WRKSRC)/doc/*.info
/usr/bin/touch $(WRKSRC)/doc/*.dvi
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/a2ps/etc
${INSTALL_DATA} ${WRKSRC}/etc/a2ps.cfg ${PREFIX}/share/a2ps/etc
${INSTALL_DATA} ${WRKSRC}/etc/a2ps-site.cfg ${PREFIX}/share/a2ps/etc
.include <bsd.port.mk>