aboutsummaryrefslogtreecommitdiff
path: root/print/enscript-letter
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2011-03-13 14:15:42 +0000
committerRong-En Fan <rafan@FreeBSD.org>2011-03-13 14:15:42 +0000
commit6cd721e3b0264cd5bd375f9b82cf68b93d4923f1 (patch)
treeaac8e50a70ad23d862796ede26684b5682422b7d /print/enscript-letter
parent5d2e78ba262dc5aada59be7dd19043460f3a1e63 (diff)
downloadports-6cd721e3b0264cd5bd375f9b82cf68b93d4923f1.tar.gz
ports-6cd721e3b0264cd5bd375f9b82cf68b93d4923f1.zip
Notes
Diffstat (limited to 'print/enscript-letter')
-rw-r--r--print/enscript-letter/Makefile14
-rw-r--r--print/enscript-letter/distinfo1
2 files changed, 4 insertions, 11 deletions
diff --git a/print/enscript-letter/Makefile b/print/enscript-letter/Makefile
index 8515f66f55c1..f8b45ab46c21 100644
--- a/print/enscript-letter/Makefile
+++ b/print/enscript-letter/Makefile
@@ -19,21 +19,15 @@ COMMENT= ASCII to PostScript filter
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-nls --with-media=${PS}
+CONFLICTS?= enscript-a4-* enscript-letterdj-*
+
INFO= enscript
MAN1= diffpp.1 enscript.1 sliceprint.1 states.1
PAPERSIZE?= letter
+PS= Letter
-.if ${PAPERSIZE} == a4
-PS=A4
-CONFLICTS= enscript-letter-* enscript-letterdj-*
-.elif ${PAPERSIZE} == letter
-PS=Letter
-CONFLICTS= enscript-a4-* enscript-letterdj-*
-.elif ${PAPERSIZE} == letterdj
-PS=Letterdj
-CONFLICTS= enscript-a4-* enscript-letter-*
-.else
+.if (${PAPERSIZE} != a4 && ${PAPERSIZE} != letter && ${PAPERSIZE} != letterdj)
.BEGIN:
@${ECHO} "Error: invalid value for PAPERSIZE: \"${PAPERSIZE}\""
@${ECHO} "Possible values are: a4, letter, or letterdj"
diff --git a/print/enscript-letter/distinfo b/print/enscript-letter/distinfo
index 9bd31ac375db..9d3d33fa59ca 100644
--- a/print/enscript-letter/distinfo
+++ b/print/enscript-letter/distinfo
@@ -1,3 +1,2 @@
-MD5 (enscript-1.6.4.tar.gz) = b5174b59e4a050fb462af5dbf28ebba3
SHA256 (enscript-1.6.4.tar.gz) = 45299a4db47c9c08c3649d4f62b211ae79ef5143360c264a40371a728f6ad99b
SIZE (enscript-1.6.4.tar.gz) = 1036734