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

48 lines
958 B
Makefile
Raw Normal View History

2000-02-13 03:25:05 +00:00
# ex:ts=8
1995-04-15 04:34:11 +00:00
# New ports collection makefile for: a2ps
# Date created: 6 November 1994
# Whom: jmz & David O'Brien (obrien@cs.ucdavis.edu)
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
#
2000-04-09 17:50:59 +00:00
PORTNAME= a2ps-${PAPERSIZE}
PORTVERSION= 4.3
CATEGORIES= print
MASTER_SITES= ftp://ftp.imag.fr/archive/postscript/format.translators/
DISTNAME= a2ps.V4.3
1995-04-15 04:34:11 +00:00
1997-11-27 02:12:33 +00:00
MAINTAINER= obrien@FreeBSD.org
NO_LATEST_LINK= yes
MAKE_FLAGS?= WIDTH=${WIDTH} HEIGHT=${HEIGHT} A4_PAPERSIZE=${A4_PAPERSIZE} -f
NO_WRKSUBDIR= yes
MAN1= a2ps.1
PAPERSIZE?= letter
.if ${PAPERSIZE} == letter
WIDTH=8.5
HEIGHT=11.0
A4_PAPERSIZE=0
.elif ${PAPERSIZE} == a4
WIDTH=8.27
HEIGHT=11.64
A4_PAPERSIZE=1
.else
.BEGIN:
1999-09-04 19:18:29 +00:00
@${ECHO} "Error: invalid value for PAPERSIZE: \"${PAPERSIZE}\""
@${ECHO} "Possible values are: a4 or letter"
@${FALSE}
.endif
pre-install:
@${MKDIR} ${PREFIX}/bin
@${MKDIR} ${PREFIX}/man/man1
@(cd ${WRKSRC}; make install.man)
1997-10-11 02:57:19 +00:00
post-install:
strip ${PREFIX}/bin/a2ps
.include <bsd.port.mk>