blob: 06552e14ed834592a87a611a1b41f56ebca95247 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Created by: kline
# $FreeBSD$
PORTNAME= enscript
PORTVERSION= 1.6.4
PORTREVISION= 5
CATEGORIES+= print
MASTER_SITES= http://www.codento.com/people/mtr/genscript/
PKGNAMESUFFIX= -${PAPERSIZE}
DISTNAME= enscript-${PORTVERSION}
MAINTAINER?= rafan@FreeBSD.org
COMMENT= ASCII to PostScript filter
USES= shebangfix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-nls --with-media=${PS}
CONFIGURE_ENV= PERL="${perl_CMD}"
CONFLICTS?= enscript-a4-* enscript-letterdj-*
INFO= enscript
PAPERSIZE?= letter
PS?= Letter
.if (${PAPERSIZE} != a4 && ${PAPERSIZE} != letter && ${PAPERSIZE} != letterdj)
.BEGIN:
@${ECHO} "Error: invalid value for PAPERSIZE: \"${PAPERSIZE}\""
@${ECHO} "Possible values are: a4, letter, or letterdj"
@${FALSE}
.endif
.include <bsd.port.mk>
|