diff options
Diffstat (limited to 'print/system-config-printer/Makefile')
-rw-r--r-- | print/system-config-printer/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/print/system-config-printer/Makefile b/print/system-config-printer/Makefile new file mode 100644 index 000000000..9f04928a2 --- /dev/null +++ b/print/system-config-printer/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: system-config-printer +# Date created: 2008-03-20 +# Whom: Michael Johnson <ahze@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ + +PORTNAME= system-config-printer +PORTVERSION= 0.7.82 +CATEGORIES= print gnome +MASTER_SITES= http://cyberelk.net/tim/data/${PORTNAME}/ + +MAINTAINER= gnome@FreeBSD.org +COMMENT= CUPS configuration Gtk+2.0 GUI + +BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/cups.so:${PORTSDIR}/print/py-cups \ + ${LOCALBASE}/libdata/pkgconfig/notify-python.pc:${PORTSDIR}/devel/py-notify \ + xmlproc_parse:${PORTSDIR}/textproc/py-xml \ + ${LOCALBASE}/libdata/pkgconfig/dbus-python.pc:${PORTSDIR}/devel/py-dbus + xmlto:${PORTSDIR}/textproc/xmlto +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/cups.so:${PORTSDIR}/print/py-cups \ + ${LOCALBASE}/libdata/pkgconfig/notify-python.pc:${PORTSDIR}/devel/py-notify \ + xmlproc_parse:${PORTSDIR}/textproc/py-xml \ + ${LOCALBASE}/libdata/pkgconfig/dbus-python.pc:${PORTSDIR}/devel/py-dbus + +USE_BZIP2= yes +USE_PYTHON= yes +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_GETTEXT= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" +USE_GNOME= pygtk2 +MAN1= system-config-printer-applet.1 system-config-printer.1 + +post-patch: + @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \ + 's|%%LOCALBASE%%|${LOCALBASE}|g; s|%%PREFIX%%|${PREFIX}|g' + +.include <bsd.port.mk> |