aboutsummaryrefslogtreecommitdiffstats
path: root/print/enscript-letter
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2011-03-13 22:15:42 +0800
committerrafan <rafan@FreeBSD.org>2011-03-13 22:15:42 +0800
commita478eba4685106b05da653a3fea574709601e836 (patch)
tree6e8a6188674ca6aef0376dc469fd4f470e3445a5 /print/enscript-letter
parente474421b990d4645f0adf711f70b2eafee806f60 (diff)
downloadfreebsd-ports-gnome-a478eba4685106b05da653a3fea574709601e836.tar.gz
freebsd-ports-gnome-a478eba4685106b05da653a3fea574709601e836.tar.zst
freebsd-ports-gnome-a478eba4685106b05da653a3fea574709601e836.zip
- Move CONFLICTS definition to slave ports itself instead of making it in
master port so that portmaster can pick this up correctly - Remove MD5 checksum from distinfo Reported by: Warren Block <wblock at wonkity.com> and dougb@
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