freebsd-ports/print/enscript-letter/Makefile
Pav Lucistnik b2d9def9a5 - change the master site, so it is fetchable again
- use %%DATADIR%% in pkg-plist
- As I'm maintainer of a slave port (chinese/enscript)
  of this one, I would like to take this port.
- Change MACHINE_ARCH to ARCH, which follows bsd.port.mk

PR:		ports/90135
Submitted by:	Rong-En Fan <rafan@infor.org>
2005-12-09 13:22:10 +00:00

41 lines
885 B
Makefile

# New ports collection makefile for: enscript (letter)
# Date created: 24 Jul, 1997
# Whom: kline
#
# $FreeBSD$
#
PORTNAME= enscript
PORTVERSION= 1.6.4
PORTREVISION= 1
CATEGORIES+= print
MASTER_SITES= http://www.codento.com/people/mtr/genscript/
PKGNAMESUFFIX= -${PAPERSIZE}
DISTNAME= enscript-${PORTVERSION}
MAINTAINER?= rafan@infor.org
COMMENT= ASCII to PostScript filter
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-nls --with-media=${PS}
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
INFO= enscript
MAN1= diffpp.1 enscript.1 sliceprint.1 states.1
PAPERSIZE?= letter
.if ${PAPERSIZE} == a4
PS=A4
.elif ${PAPERSIZE} == letter
PS=Letter
.elif ${PAPERSIZE} == letterdj
PS=Letterdj
.else
.BEGIN:
@${ECHO} "Error: invalid value for PAPERSIZE: \"${PAPERSIZE}\""
@${ECHO} "Possible values are: a4, letter, or letterdj"
@${FALSE}
.endif
.include <bsd.port.mk>