summaryrefslogtreecommitdiffstats
path: root/print/cups/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'print/cups/Makefile.inc')
-rw-r--r--print/cups/Makefile.inc23
1 files changed, 23 insertions, 0 deletions
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
+
OpenPOWER on IntegriCloud