aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2007-07-05 05:00:00 +0800
committerahze <ahze@FreeBSD.org>2007-07-05 05:00:00 +0800
commit4376a3e8f0f6fa32fe333168675e3ab1977c6183 (patch)
treea9a37cce62597986091be4f06b79be31007a94d9 /print
parent38d9d47f3e9d4caa39f1de1e1592747eba6d94ca (diff)
downloadfreebsd-ports-gnome-4376a3e8f0f6fa32fe333168675e3ab1977c6183.tar.gz
freebsd-ports-gnome-4376a3e8f0f6fa32fe333168675e3ab1977c6183.tar.zst
freebsd-ports-gnome-4376a3e8f0f6fa32fe333168675e3ab1977c6183.zip
Add cupsddk
The CUPS Driver Development Kit (DDK) provides a suite of standard drivers, a PPD file compiler, and other utilities that can be used to develop printer drivers for CUPS and other printing environments. WWW: http://www.cups.org/ddk/
Diffstat (limited to 'print')
-rw-r--r--print/Makefile1
-rw-r--r--print/cupsddk/Makefile43
-rw-r--r--print/cupsddk/distinfo3
-rw-r--r--print/cupsddk/pkg-descr5
-rw-r--r--print/cupsddk/pkg-plist46
5 files changed, 98 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index 0b46a891560f..9fccf1ab7a08 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -50,6 +50,7 @@
SUBDIR += cups-pstoraster
SUBDIR += cups-samba
SUBDIR += cups-smb-backend
+ SUBDIR += cupsddk
SUBDIR += detex
SUBDIR += dk-acroread
SUBDIR += dvi2tty
diff --git a/print/cupsddk/Makefile b/print/cupsddk/Makefile
new file mode 100644
index 000000000000..af85b342f3e8
--- /dev/null
+++ b/print/cupsddk/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: cupsddk
+# Date created: 2007-07-04
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= cupsddk
+PORTVERSION= 1.1.1
+CATEGORIES= print devel
+MASTER_SITES= EASYSW
+MASTER_SITE_SUBDIR= ${PORTNAME}/${DISTVERSION}
+DISTNAME= ${PORTNAME}-${DISTVERSION}-source
+
+MAINTAINER= ahze@FreeBSD.org
+COMMENT= CUPS Driver Development Kit
+
+LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk \
+ cups.2:${PORTSDIR}/print/cups-base
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+MAN1= commandtoescpx.1 commandtopclx.1 cupsprofile.1 \
+ ppdc.1 ppdhtml.1 ppdi.1 ppdmerge.1 ppdpo.1 \
+ rastertoescpx.1 rastertopclx.1
+MAN5= ppdcfile.5
+
+.if defined(WITH_DEBUG)
+CONFIGURE_ARGS+= --enable-debug
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/cupsprofile.ppm|${DATADIR:S,${PREFIX}/share,,}/cupsprofile.ppm|' \
+ ${WRKSRC}/cups/cupsprofile.c
+ @${REINPLACE_CMD} -e 's|ln -s|${LN} -sf|' \
+ ${WRKSRC}/Makedefs.in
+
+post-install:
+ @${INSTALL_DATA} ${WRKSRC}/cups/cupsprofile.ppm ${DATADIR}
+
+.include <bsd.port.mk>
diff --git a/print/cupsddk/distinfo b/print/cupsddk/distinfo
new file mode 100644
index 000000000000..bb5d05960ed7
--- /dev/null
+++ b/print/cupsddk/distinfo
@@ -0,0 +1,3 @@
+MD5 (cupsddk-1.1.1-source.tar.gz) = 14cfc3c1719946a322ad01f2f1592e5a
+SHA256 (cupsddk-1.1.1-source.tar.gz) = f7ed42e2a925319163f07f4f96935dbf721c08107b888b91e823da7db5fa554f
+SIZE (cupsddk-1.1.1-source.tar.gz) = 3394790
diff --git a/print/cupsddk/pkg-descr b/print/cupsddk/pkg-descr
new file mode 100644
index 000000000000..47417efe84cb
--- /dev/null
+++ b/print/cupsddk/pkg-descr
@@ -0,0 +1,5 @@
+The CUPS Driver Development Kit (DDK) provides a suite of standard drivers,
+a PPD file compiler, and other utilities that can be used to develop printer
+drivers for CUPS and other printing environments.
+
+WWW: http://www.cups.org/ddk/
diff --git a/print/cupsddk/pkg-plist b/print/cupsddk/pkg-plist
new file mode 100644
index 000000000000..4805af13323d
--- /dev/null
+++ b/print/cupsddk/pkg-plist
@@ -0,0 +1,46 @@
+bin/cupsprofile
+bin/ppdc
+bin/ppdhtml
+bin/ppdi
+bin/ppdmerge
+bin/ppdpo
+include/cups/driver.h
+libexec/cups/driver/drv
+libexec/cups/filter/commandtoescpx
+libexec/cups/filter/commandtopclx
+libexec/cups/filter/rastertoescpx
+libexec/cups/filter/rastertopclx
+%%DATADIR%%/cupsprofile.ppm
+%%DATADIR%%/include/dymo.h
+%%DATADIR%%/include/epson.h
+%%DATADIR%%/include/escp.h
+%%DATADIR%%/include/font.defs
+%%DATADIR%%/include/hp.h
+%%DATADIR%%/include/label.h
+%%DATADIR%%/include/media.defs
+%%DATADIR%%/include/pcl.h
+%%DATADIR%%/include/raster.defs
+%%DATADIR%%/po/de.po
+%%DATADIR%%/po/es.po
+%%DATADIR%%/po/fr.po
+%%DATADIR%%/po/it.po
+%%DATADIR%%/po/ja.po
+share/doc/cups/examples/color.drv
+share/doc/cups/examples/constraint.drv
+share/doc/cups/examples/custom.drv
+share/doc/cups/examples/grouping.drv
+share/doc/cups/examples/minimum.drv
+share/doc/cups/help/man-cupsprofile.html
+share/doc/cups/help/man-ppdc.html
+share/doc/cups/help/man-ppdhtml.html
+share/doc/cups/help/man-ppdi.html
+share/doc/cups/help/man-ppdmerge.html
+share/doc/cups/help/man-ppdpo.html
+share/doc/cups/help/man-rastertoescpx.html
+share/doc/cups/help/man-rastertopclx.html
+share/doc/cups/help/ref-ppdcfile.html
+@dirrmtry share/doc/cups/examples
+@dirrm %%DATADIR%%/po
+@dirrm %%DATADIR%%/include
+@dirrm %%DATADIR%%
+@dirrmtry share/cups/drv