diff options
author | adam <adam@pkgsrc.org> | 2011-01-03 05:58:49 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2011-01-03 05:58:49 +0000 |
commit | d98783e4a86afba8b9d6937e7b880f9d2599772e (patch) | |
tree | 1068672ada459d67848e2bb064bf860bffa7d6dd | |
parent | 8c86bd939a39d9980f98887c7b9cdae1db6a6438 (diff) | |
download | pkgsrc-d98783e4a86afba8b9d6937e7b880f9d2599772e.tar.gz |
PLIST fix: some files are not installed on Mac OS X; pkglint clean-up
-rw-r--r-- | print/cups/Makefile | 21 | ||||
-rw-r--r-- | print/cups/PLIST | 10 | ||||
-rw-r--r-- | print/cups/options.mk | 4 |
3 files changed, 20 insertions, 15 deletions
diff --git a/print/cups/Makefile b/print/cups/Makefile index ac638ee3a75..6a47659045c 100644 --- a/print/cups/Makefile +++ b/print/cups/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.172 2010/12/23 11:44:54 dsainty Exp $ +# $NetBSD: Makefile,v 1.173 2011/01/03 05:58:49 adam Exp $ # # The CUPS author is very good about taking back changes into the main # CUPS distribution. The correct place to send patches or bug-fixes is: @@ -38,13 +38,13 @@ AUTOCONF_REQD= 2.60 GNU_CONFIGURE= yes CONFIGURE_ARGS+= --localedir=${PREFIX}/${PKGLOCALEDIR}/locale -CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR:Q} -CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q} +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR} +CONFIGURE_ARGS+= --localstatedir=${VARBASE} CONFIGURE_ARGS+= --with-cachedir=${CUPS_CACHE:Q} CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/cups CONFIGURE_ARGS+= --with-serverbindir=${PREFIX}/libexec/cups -CONFIGURE_ARGS+= --with-cups-user=${CUPS_USER:Q} -CONFIGURE_ARGS+= --with-cups-group=${CUPS_GROUP:Q} +CONFIGURE_ARGS+= --with-cups-user=${CUPS_USER} +CONFIGURE_ARGS+= --with-cups-group=${CUPS_GROUP} CONFIGURE_ARGS+= --with-system-groups=${CUPS_SYSTEM_GROUPS:Q} CONFIGURE_ARGS+= --enable-libpaper CONFIGURE_ARGS+= --enable-libtool @@ -68,14 +68,19 @@ CONFIGURE_ENV+= DSOFLAGS=${LDFLAGS:M*:Q} .include "../../mk/bsd.prefs.mk" .include "options.mk" +PLIST_VARS+= notmac +.if ${OPSYS} != "Darwin" +PLIST.notmac= yes +.endif + # CUPS_USER username of the CUPS administrator # CUPS_GROUP group of the CUPS administrator # CUPS_USER?= lp CUPS_GROUP?= lp CUPS_SYSTEM_GROUPS?= ${REAL_ROOT_GROUP} -FILES_SUBST+= CUPS_USER=${CUPS_USER:Q} -FILES_SUBST+= CUPS_GROUP=${CUPS_GROUP:Q} +FILES_SUBST+= CUPS_USER=${CUPS_USER} +FILES_SUBST+= CUPS_GROUP=${CUPS_GROUP} FILES_SUBST+= CUPS_SYSTEM_GROUPS=${CUPS_SYSTEM_GROUPS:Q} PKG_GROUPS_VARS+= CUPS_GROUP CUPS_SYSTEM_GROUPS @@ -133,7 +138,7 @@ SUBST_SED.rpathfix= -e 's|@EXPORT_LDFLAGS@|${COMPILER_RPATH_FLAG}${PREFIX}/lib|g SUBST_STAGE.rpathfix= post-patch INSTALLATION_DIRS= ${DOCDIR} ${EGDIR} ${MIMEDIR} -INSTALL_ENV+= DSTROOT=${DESTDIR:Q} +INSTALL_ENV+= DSTROOT=${DESTDIR} pre-configure: .if !empty(CUPS_SYSTEM_GROUPS:M${CUPS_GROUP}) diff --git a/print/cups/PLIST b/print/cups/PLIST index ba219f0c3fc..21cb35044fe 100644 --- a/print/cups/PLIST +++ b/print/cups/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.33 2010/07/20 00:01:22 sbd Exp $ +@comment $NetBSD: PLIST,v 1.34 2011/01/03 05:58:49 adam Exp $ bin/cancel bin/cups-config bin/cupstestdsc @@ -46,8 +46,8 @@ libexec/cups/backend/http libexec/cups/backend/ipp libexec/cups/backend/lpd ${PLIST.dnssd}libexec/cups/backend/mdns -libexec/cups/backend/parallel -libexec/cups/backend/scsi +${PLIST.notmac}libexec/cups/backend/parallel +${PLIST.notmac}libexec/cups/backend/scsi libexec/cups/backend/serial libexec/cups/backend/snmp libexec/cups/backend/socket @@ -67,8 +67,8 @@ libexec/cups/filter/commandtopclx libexec/cups/filter/commandtops libexec/cups/filter/gziptoany libexec/cups/filter/hpgltops -libexec/cups/filter/imagetops -libexec/cups/filter/imagetoraster +${PLIST.notmac}libexec/cups/filter/imagetops +${PLIST.notmac}libexec/cups/filter/imagetoraster libexec/cups/filter/pdftops libexec/cups/filter/pstops libexec/cups/filter/rastertodymo diff --git a/print/cups/options.mk b/print/cups/options.mk index 49eb7947cc1..69877ac3c75 100644 --- a/print/cups/options.mk +++ b/print/cups/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.11 2010/07/14 11:25:19 sbd Exp $ +# $NetBSD: options.mk,v 1.12 2011/01/03 05:58:49 adam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.cups PKG_OPTIONS_REQUIRED_GROUPS= pdftops @@ -17,7 +17,7 @@ CONFIGURE_ARGS+= --enable-acl CONFIGURE_ARGS+= --disable-acl .endif -PLIST_VARS+= dbus +PLIST_VARS+= dbus .if !empty(PKG_OPTIONS:Mdbus) USE_TOOLS+= pkg-config . include "../../sysutils/dbus/buildlink3.mk" |