summaryrefslogtreecommitdiff
path: root/print/cups/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>1999-11-29 02:18:53 +0000
committerjlam <jlam>1999-11-29 02:18:53 +0000
commitedf2a2e4e1d2f0257829083d1ecfcef3a1994b22 (patch)
treeb93be660f5ecf0f8df5f79b639a72ceb313cc6cb /print/cups/Makefile
parentf04859e40d7664b0b22a7f8a537063af5a803f08 (diff)
downloadpkgsrc-edf2a2e4e1d2f0257829083d1ecfcef3a1994b22.tar.gz
Common UNIX Printing System, a IPP 1.0 implementation.
Diffstat (limited to 'print/cups/Makefile')
-rw-r--r--print/cups/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/print/cups/Makefile b/print/cups/Makefile
new file mode 100644
index 00000000000..553d73d7262
--- /dev/null
+++ b/print/cups/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/11/29 02:18:53 jlam Exp $
+#
+
+DISTNAME= cups-1.0.2-source
+PKGNAME= ${DISTNAME:S/-source//}
+VERS= ${PKGNAME:S/cups-//}
+WRKSRC= ${WRKDIR}/${PKGNAME}
+CATEGORIES= print
+MASTER_SITES= ftp://ftp.easysw.com/pub/cups/${VERS}/ \
+ ftp://ftp2.easysw.com/pub/cups/${VERS}/ \
+ ftp://ftp.northamerica.net/pub/ESP/cups/${VERS}/ \
+ ftp://ftp.funet.fi/mirrors/ftp.easysw.com/pub/cups/${VERS}/ \
+ ftp://ftp.fisek.com.tr/pub/cups/${VERS}/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= jlam@netbsd.org
+HOMEPAGE= http://www.cups.org/
+
+DEPENDS+= jpeg-6b:../../graphics/jpeg
+DEPENDS+= png-1.0.3:../../graphics/png
+DEPENDS+= tiff-*:../../graphics/tiff
+
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
+
+CPPFLAGS+= -I${LOCALBASE}/include
+
+post-install:
+.for DIR in interfaces logs ppd requests
+ ${TOUCH} /var/cups/${DIR}/.directory
+.endfor
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cups
+ cd ${WRKSRC}/conf; ${INSTALL_DATA} classes.conf cupsd.conf \
+ cupsd.conf-personal cupsd.conf-professional mime.convs \
+ mime.types printcap printers.conf \
+ ${PREFIX}/share/examples/cups
+
+.include "../../mk/bsd.pkg.mk"