1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/print/a2ps-letter/Makefile

40 lines
1.0 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: a2ps (letter)
# Version required: 4.10.3
# Date created: 15 July 1998
# Whom: Chuck Robey (chuckr@freebsd.org)
1995-04-15 04:34:11 +00:00
#
# $Id: Makefile,v 1.21 1998/10/30 08:35:22 asami Exp $
1995-04-15 04:34:11 +00:00
#
DISTNAME= a2ps-4.10.3
PKGNAME= a2ps-${PAPERSIZE}-4.10.3
CATEGORIES= print
MASTER_SITES= http://www-inf.enst.fr/~demaille/ftp/a2ps/
1995-04-15 04:34:11 +00:00
MAINTAINER= chuckr@FreeBSD.org
GNU_CONFIGURE= yes
MAN1= a2ps.1 ogonkify.1 card.1 psmandup.1 fixps.1 pdiff.1
PAPERSIZE?= letter
PS!= echo ${PAPERSIZE} | tr l L | tr a A
STRIP=
CONFIGURE_ARGS= --with-medium=${PS}
.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-install:
1998-09-19 16:38:41 +00:00
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
strip ${PREFIX}/bin/a2ps
(cd ${WRKSRC}/doc; ${MAKE} install)
.include <bsd.port.mk>