aboutsummaryrefslogtreecommitdiff
path: root/print/cups
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2002-02-23 16:46:58 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2002-02-23 16:46:58 +0000
commitd16b0f3a13066018e0c9b53d4647c02b0249fae1 (patch)
tree07720ff9dadcddcc8e78ed44a1fe13e9085d9bc4 /print/cups
parente5fdc91f4424111ee42657869e9c4c81b5b59603 (diff)
downloadports-d16b0f3a13066018e0c9b53d4647c02b0249fae1.tar.gz
ports-d16b0f3a13066018e0c9b53d4647c02b0249fae1.zip
Notes
Diffstat (limited to 'print/cups')
-rw-r--r--print/cups/Makefile6
-rw-r--r--print/cups/Makefile.common23
-rw-r--r--print/cups/Makefile.inc23
-rw-r--r--print/cups/distinfo2
4 files changed, 49 insertions, 5 deletions
diff --git a/print/cups/Makefile b/print/cups/Makefile
index 88764888bde0..b3ecfed52664 100644
--- a/print/cups/Makefile
+++ b/print/cups/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= cups
-PORTVERSION= ${VERSION}
-PORTREVISION= 1
+PORTVERSION= ${CUPS_VERSION}
CATEGORIES= print
MASTER_SITES= # empty
DISTFILES= # none
@@ -15,12 +14,11 @@ EXTRACT_ONLY= # empty
MAINTAINER= jah4007@cs.rit.edu
-VERSION= 1.1.12
-
LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-base
RUN_DEPENDS= ${LOCALBASE}/sbin/cupsaddsmb:${PORTSDIR}/print/cups-lpr
NO_BUILD= true
do-install: # empty
+.include "${.CURDIR}/Makefile.inc"
.include <bsd.port.mk>
diff --git a/print/cups/Makefile.common b/print/cups/Makefile.common
new file mode 100644
index 000000000000..2054c4f1cb69
--- /dev/null
+++ b/print/cups/Makefile.common
@@ -0,0 +1,23 @@
+# Common file for CUPS ports
+# $FreeBSD$
+
+MASTER_SITES= ftp://ftp.easysw.com/pub/cups/${VERSION}/ \
+ ftp://ftp2.easysw.com/pub/cups/${VERSION}/ \
+ ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/cups/${VERSION}/ \
+ ftp://ftp.mpg.goe.ni.schule.de/pub/internet/printing/cups/${VERSION}/
+
+CUPS_VERSION= 1.1.14
+
+#protect the base port
+.if( $(PORTNAME) != "cups")
+DISTNAME= cups-${CUPS_VERSION}-source
+DISTFILES= ${DISTNAME}.tar.bz2
+WRKSRC= ${WRKDIR}/cups-${CUPS_VERSION}
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+
+CONFIGURE_ARGS+= --localstatedir=/var
+.endif
+
diff --git a/print/cups/Makefile.inc b/print/cups/Makefile.inc
new file mode 100644
index 000000000000..2054c4f1cb69
--- /dev/null
+++ b/print/cups/Makefile.inc
@@ -0,0 +1,23 @@
+# Common file for CUPS ports
+# $FreeBSD$
+
+MASTER_SITES= ftp://ftp.easysw.com/pub/cups/${VERSION}/ \
+ ftp://ftp2.easysw.com/pub/cups/${VERSION}/ \
+ ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/cups/${VERSION}/ \
+ ftp://ftp.mpg.goe.ni.schule.de/pub/internet/printing/cups/${VERSION}/
+
+CUPS_VERSION= 1.1.14
+
+#protect the base port
+.if( $(PORTNAME) != "cups")
+DISTNAME= cups-${CUPS_VERSION}-source
+DISTFILES= ${DISTNAME}.tar.bz2
+WRKSRC= ${WRKDIR}/cups-${CUPS_VERSION}
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+
+CONFIGURE_ARGS+= --localstatedir=/var
+.endif
+
diff --git a/print/cups/distinfo b/print/cups/distinfo
index 14e622162ea1..f871858bea1c 100644
--- a/print/cups/distinfo
+++ b/print/cups/distinfo
@@ -1 +1 @@
-MD5 (cups-1.1.12-source.tar.bz2) = 18e74aa115e9fdaa569685e6351f0ebc
+MD5 (cups-1.1.14-source.tar.bz2) = 7cc9725d94568b24f5ade78fb7e26480