summaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-04-04 01:42:21 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-04-04 01:42:21 +0800
commit44fbc57cfe427ee866c91784eb6edac275d1a1b8 (patch)
tree1aeb17002c7e85572902d433203e5c2e7c485929 /print
parentaa7f2a746c17a7a1d49ab1152f2af002f6c3cb7f (diff)
downloadmarcuscom-ports-44fbc57cfe427ee866c91784eb6edac275d1a1b8.tar
marcuscom-ports-44fbc57cfe427ee866c91784eb6edac275d1a1b8.tar.gz
marcuscom-ports-44fbc57cfe427ee866c91784eb6edac275d1a1b8.tar.bz2
marcuscom-ports-44fbc57cfe427ee866c91784eb6edac275d1a1b8.tar.lz
marcuscom-ports-44fbc57cfe427ee866c91784eb6edac275d1a1b8.tar.xz
marcuscom-ports-44fbc57cfe427ee866c91784eb6edac275d1a1b8.tar.zst
marcuscom-ports-44fbc57cfe427ee866c91784eb6edac275d1a1b8.zip
Check for older version of port and error if it is installed
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8592 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'print')
-rw-r--r--print/gutenprint/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/print/gutenprint/Makefile b/print/gutenprint/Makefile
index 46a39e527..3a2a6803d 100644
--- a/print/gutenprint/Makefile
+++ b/print/gutenprint/Makefile
@@ -3,12 +3,12 @@
# Whom: dgilbert@velocet.ca
#
# $FreeBSD$
-# $MCom: ports/print/gutenprint/Makefile,v 1.6 2007/02/16 18:14:25 mezz Exp $
+# $MCom: ports/print/gutenprint/Makefile,v 1.7 2007/03/30 16:42:46 ahze Exp $
#
PORTNAME= gutenprint
-PORTVERSION?= 5.1.0
-PORTREVISION?= 0
+PORTVERSION= 5.1
+PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= # empty
DISTFILES= # empty
@@ -44,6 +44,12 @@ RUN_DEPENDS+= gutenprint-ijs>0:${PORTSDIR}/print/gutenprint-ijs
RUN_DEPENDS+= gutenprint-foomatic>0:${PORTSDIR}/print/gutenprint-foomatic
.endif
+pre-everything::
+ @if [ -n "`${PKG_INFO} -xI '^gutenprint-[0-9].[0-9].[0-9]*' 2>/dev/null`" ]; then \
+ ${ECHO_CMD} "${PKGNAME}: Old version of gutenprint detected! Please see ${PORTSDIR}/UPDATING for information on upgrading ${PKGNAME}" ; \
+ ${FALSE}; \
+ fi
+
do-install: # empty
.include <bsd.port.post.mk>