From 6ba82fee64d873f025ecee9ae17abd17201d4842 Mon Sep 17 00:00:00 2001 From: Rong-En Fan Date: Mon, 12 Jul 2010 14:16:32 +0000 Subject: [PATCH] - Add CONFLICTS on other enscript-* pkgs PR: ports/148125 --- print/enscript-letter/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/print/enscript-letter/Makefile b/print/enscript-letter/Makefile index 58a9c1438ad1..8515f66f55c1 100644 --- a/print/enscript-letter/Makefile +++ b/print/enscript-letter/Makefile @@ -7,7 +7,7 @@ PORTNAME= enscript PORTVERSION= 1.6.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES+= print MASTER_SITES= http://www.codento.com/people/mtr/genscript/ PKGNAMESUFFIX= -${PAPERSIZE} @@ -26,10 +26,13 @@ PAPERSIZE?= 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 .BEGIN: @${ECHO} "Error: invalid value for PAPERSIZE: \"${PAPERSIZE}\""