diff options
author | Boris Samorodov <bsam@FreeBSD.org> | 2013-12-26 19:38:16 +0000 |
---|---|---|
committer | Boris Samorodov <bsam@FreeBSD.org> | 2013-12-26 19:38:16 +0000 |
commit | 652dde7a1c9140b287881baecad4605cae135715 (patch) | |
tree | 8183567e5d4274c455349ce8b05039651349db83 /print/foomatic-filters | |
parent | ec42c2ff06aa88d751ce7baed21223574d48c745 (diff) | |
download | ports-652dde7a1c9140b287881baecad4605cae135715.tar.gz ports-652dde7a1c9140b287881baecad4605cae135715.zip |
Notes
Diffstat (limited to 'print/foomatic-filters')
-rw-r--r-- | print/foomatic-filters/Makefile | 16 | ||||
-rw-r--r-- | print/foomatic-filters/distinfo | 4 | ||||
-rw-r--r-- | print/foomatic-filters/pkg-plist | 5 |
3 files changed, 14 insertions, 11 deletions
diff --git a/print/foomatic-filters/Makefile b/print/foomatic-filters/Makefile index 0f0113f25764..5967759dbc0c 100644 --- a/print/foomatic-filters/Makefile +++ b/print/foomatic-filters/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= foomatic-filters -PORTVERSION= 4.0.7 -PORTREVISION= 2 +PORTVERSION= 4.0.17 CATEGORIES= print MASTER_SITES= http://www.openprinting.org/download/foomatic/ @@ -11,9 +10,10 @@ MAINTAINER= acm@FreeBSD.org COMMENT= Foomatic wrapper scripts LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING -USES= perl5 +LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus + +USES= perl5 pkgconfig USE_AUTOTOOLS= autoheader USE_GHOSTSCRIPT=yes GNU_CONFIGURE= yes @@ -23,6 +23,7 @@ CONFIGURE_ENV= ac_cv_path_A2PS=${LOCALBASE}/bin/a2ps \ ac_cv_path_CUPS_BACKENDS=${LOCALBASE}/libexec/cups/backend \ ac_cv_path_ENSCRIPT=${LOCALBASE}/bin/enscript \ ac_cv_path_MPAGE=${LOCALBASE}/bin/mpage \ + ac_cv_path_PERL=${LOCALBASE}/bin/perl \ ac_cv_path_PPR=${LOCALBASE}/lib/ppr \ ac_cv_path_PPR_INTERFACES=${LOCALBASE}/lib/ppr/interfaces \ ac_cv_path_PPR_LIB=${LOCALBASE}/lib/ppr/lib \ @@ -42,9 +43,6 @@ ENSCRIPT_LETTER_DESC= Install enscript convertor (letter) ENSCRIPT_LETTERDJ_DESC= Install enscript convertor (letterdj) MPAGE_DESC= Print multiple pages per sheet of paper -MAN1= foomatic-rip.1 - -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MCUPS_IMAGE} @@ -73,5 +71,9 @@ RUN_DEPENDS+= mpage:${PORTSDIR}/print/mpage post-patch: @${REINPLACE_CMD} -e 's|/bin/bash|${SH}|g' ${WRKSRC}/foomaticrip.c + @${REINPLACE_CMD} -e '/filter.conf/ s|if|#if|g' ${WRKSRC}/Makefile.in + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/foomatic-rip .include <bsd.port.mk> diff --git a/print/foomatic-filters/distinfo b/print/foomatic-filters/distinfo index a4ae4b9022af..79675a2e8a96 100644 --- a/print/foomatic-filters/distinfo +++ b/print/foomatic-filters/distinfo @@ -1,2 +1,2 @@ -SHA256 (foomatic-filters-4.0.7.tar.gz) = 090313fae40b177f505d9c9b93d7a4d7188b6d5d18b6ae41ab24903ac983478d -SIZE (foomatic-filters-4.0.7.tar.gz) = 244678 +SHA256 (foomatic-filters-4.0.17.tar.gz) = a2e2e53e502571e88eeb9010c45a0d54671f15707ee104f5c9c22b59ea7a33e3 +SIZE (foomatic-filters-4.0.17.tar.gz) = 266276 diff --git a/print/foomatic-filters/pkg-plist b/print/foomatic-filters/pkg-plist index 46295036f696..4f0fa444b4f8 100644 --- a/print/foomatic-filters/pkg-plist +++ b/print/foomatic-filters/pkg-plist @@ -1,16 +1,17 @@ bin/foomatic-rip @unexec if cmp -s %D/etc/foomatic/filter.conf %D/etc/foomatic/filter.conf.sample; then rm -f %D/etc/foomatic/filter.conf; fi etc/foomatic/filter.conf.sample +@exec if [ ! -f %D/etc/foomatic/filter.conf ]; then cp -p %D/%F %B/filter.conf; fi libexec/cups/backend/beh libexec/cups/filter/foomatic-rip lib/ppr/interfaces/foomatic-rip lib/ppr/lib/foomatic-rip +man/man1/foomatic-rip.1.gz @dirrmtry libexec/cups/backend @dirrmtry libexec/cups/filter +@dirrmtry libexec/cups @dirrmtry etc/foomatic/direct @dirrmtry etc/foomatic @dirrmtry lib/ppr/lib @dirrmtry lib/ppr/interfaces @dirrmtry lib/ppr -@dirrmtry libexec/cups/filter -@dirrmtry libexec/cups |