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

48 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: a2ps (letter)
# Date created: 15 July 1998
# Whom: Chuck Robey (chuckr@freebsd.org)
1995-04-15 04:34:11 +00:00
#
1999-08-31 01:53:22 +00:00
# $FreeBSD$
1995-04-15 04:34:11 +00:00
#
PORTNAME= a2ps
2000-04-09 17:50:59 +00:00
PORTVERSION= 4.12
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_LOCAL} \
ftp://ftp.enst.fr/pub/unix/a2ps/
MASTER_SITE_SUBDIR= chuckr
PKGNAMESUFFIX= -${PAPERSIZE}
DISTFILES= a2ps-${PORTVERSION}${EXTRACT_SUFX} sheets.map
1995-04-15 04:34:11 +00:00
MAINTAINER= chuckr@FreeBSD.org
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
1998-11-22 07:45:55 +00:00
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
1999-04-20 20:30:01 +00:00
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=
1999-04-20 20:30:01 +00:00
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
1998-11-22 07:45:55 +00:00
post-extract:
$(CP) $(DISTDIR)/sheets.map $(WRKSRC)/sheets/sheets.map
1998-11-22 07:45:55 +00:00
post-install:
strip ${PREFIX}/bin/a2ps
(cd ${WRKSRC}/doc; ${MAKE} install)
1998-11-22 07:45:55 +00:00
$(RM) -f $(PREFIX)/lib/liba2ps.la
.include <bsd.port.mk>