summaryrefslogtreecommitdiffstats
path: root/print/gutenprint/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/gutenprint/Makefile')
-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>