1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/print/a2ps-letter/Makefile
Peter Wemm 02c5b6c7c6 Change all www.freebsd.org/~user references to people.FreeBSD.org/~user,
as the days of the former are numbered.

Reviewed by:	asami
2000-02-08 09:29:51 +00:00

46 lines
1.3 KiB
Makefile

# New ports collection makefile for: a2ps (letter)
# Version required: 4.10.3
# Date created: 15 July 1998
# Whom: Chuck Robey (chuckr@freebsd.org)
#
# $FreeBSD$
#
DISTNAME= a2ps-4.12
PKGNAME= a2ps-${PAPERSIZE}-4.12
CATEGORIES= print
MASTER_SITES= http://people.FreeBSD.org/~chuckr/ \
ftp://ftp.enst.fr/pub/unix/a2ps/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} sheets.map
MAINTAINER= chuckr@FreeBSD.org
GNU_CONFIGURE= yes
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAN1= a2ps.1 ogonkify.1 card.1 psmandup.1 fixps.1 pdiff.1 psset.1
PAPERSIZE?= letter
PAPERSIZECNF= ${PAPERSIZE:S/l/L/:S/a/A/}
STRIP=
CONFIGURE_ARGS= --with-medium=${PAPERSIZECNF} --sharedstatedir=$(PREFIX)/share --sysconfdir=$(PREFIX)/etc --datadir=$(PREFIX)/share --localstatedir=$(PREFIX)/share
.if ${PAPERSIZE} != a4 && ${PAPERSIZE} != letter && ${PAPERSIZE} != letterdj
.BEGIN:
@${ECHO}
@${ECHO} "PAPERSIZE incorrect value: ${PAPERSIZE}."
@${ECHO}
@${ECHO} "Must specify PAPERSIZE as one of a4, letter, or letterdj."
@${ECHO} "letterdj allows a slightly larger margins for DeskJets."
@${FALSE}
.endif
post-extract:
$(CP) $(DISTDIR)/sheets.map $(WRKSRC)/sheets/sheets.map
post-install:
strip ${PREFIX}/bin/a2ps
(cd ${WRKSRC}/doc; ${MAKE} install)
$(RM) -f $(PREFIX)/lib/liba2ps.la
.include <bsd.port.mk>