diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-04-03 18:32:18 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-04-03 18:32:18 +0000 |
commit | f7a5f3a11795c199ac4d3b43099fc82c74caa1fb (patch) | |
tree | bc6d894643a339070aeca2da74b24530f03a3db0 /print/gnome-cups-manager/Makefile | |
parent | 2f31613765bc41490eb432413c1aab4854222386 (diff) |
- Fix build with new cups (still broken on 10/head)
- Stage support
- desktop-file-utils not needed as the .desktop file has no MimeType
Reported by: pkg-fallout
With hat: portmgr
MFH: 2014Q2
Notes
Notes:
svn path=/head/; revision=350037
Diffstat (limited to 'print/gnome-cups-manager/Makefile')
-rw-r--r-- | print/gnome-cups-manager/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/print/gnome-cups-manager/Makefile b/print/gnome-cups-manager/Makefile index 0f57da26db11..ce1ccc0e8cbd 100644 --- a/print/gnome-cups-manager/Makefile +++ b/print/gnome-cups-manager/Makefile @@ -13,21 +13,18 @@ DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Administration tool for cups -LIB_DEPENDS= gnomecups-1.0.1:${PORTSDIR}/print/libgnomecups +LIB_DEPENDS= libgnomecups-1.0.so:${PORTSDIR}/print/libgnomecups RUN_DEPENDS= gnomesu:${PORTSDIR}/security/libgnomesu USE_AUTOTOOLS= libtool -USE_BZIP2= yes -USE_GNOME= gnomeprefix gnomehack intlhack libgnomeprintui libgnomeui \ - desktopfileutils -USES= gettext gmake pkgconfig +USE_GNOME= gnomeprefix intlhack libgnomeprintui libgnomeui +USES= gettext gmake pathfix pkgconfig tar:bzip2 INSTALLS_ICONS= yes USE_LDCONFIG= yes GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include +CPPFLAGS+= -I${LOCALBASE}/include -D_IPP_PRIVATE_STRUCTURES LDFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes post-patch: @${SED} -e 's|%%PREFIX%%|${PREFIX}|' \ < ${FILESDIR}/gnome-cups-manager.desktop \ @@ -45,6 +42,6 @@ post-patch: post-install: ${INSTALL_DATA} ${WRKSRC}/gnome-cups-manager.desktop \ - ${PREFIX}/share/applications + ${STAGEDIR}${PREFIX}/share/applications .include <bsd.port.mk> |