summaryrefslogtreecommitdiffstats
path: root/print/cups
diff options
context:
space:
mode:
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 8876488..b3ecfed 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 0000000..2054c4f
--- /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 0000000..2054c4f
--- /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 14e6221..f871858 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
OpenPOWER on IntegriCloud