aboutsummaryrefslogtreecommitdiff
path: root/print/libgnomeprint/Makefile
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2013-12-06 18:57:55 +0000
committerKoop Mast <kwm@FreeBSD.org>2013-12-06 18:57:55 +0000
commit92c7f047a0b671458b0a3844c30cb7d64e4fda46 (patch)
treea472dff6ce3498773cbed971c9c9d79989c6520d /print/libgnomeprint/Makefile
parent3ac17805b7f068ba2ffa91e3f16e7e25edfb68ed (diff)
downloadports-92c7f047a0b671458b0a3844c30cb7d64e4fda46.tar.gz
ports-92c7f047a0b671458b0a3844c30cb7d64e4fda46.zip
Notes
Diffstat (limited to 'print/libgnomeprint/Makefile')
-rw-r--r--print/libgnomeprint/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/print/libgnomeprint/Makefile b/print/libgnomeprint/Makefile
index 96b32cea41f4..142e5f325b5f 100644
--- a/print/libgnomeprint/Makefile
+++ b/print/libgnomeprint/Makefile
@@ -16,8 +16,8 @@ USE_BZIP2= yes
.if !defined(REFERENCE_PORT)
-LIB_DEPENDS= fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
- popt:${PORTSDIR}/devel/popt
+LIB_DEPENDS= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
+ libpopt.so:${PORTSDIR}/devel/popt
USES= bison pathfix gettext gmake pkgconfig
USE_GNOME= gnomeprefix intlhack gnomehier glib20 pango libxml2 \
@@ -33,12 +33,11 @@ PLIST_SUB= VERSION=${PORTVERSION} \
OPTIONS_DEFINE= CUPS
OPTIONS_DEFAULT=CUPS
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCUPS}
CONFIGURE_ARGS+= --with-cups
-LIB_DEPENDS+= gnomecups-1:${PORTSDIR}/print/libgnomecups
+LIB_DEPENDS+= libgnomecups-1.0.so:${PORTSDIR}/print/libgnomecups
PLIST_SUB+= CUPS:=""
.else
CONFIGURE_ARGS+= --without-cups
@@ -52,8 +51,11 @@ post-patch:
@${REINPLACE_CMD} -e "/^SUBDIRS =/s|doc||" ${WRKSRC}/Makefile.in
post-install:
- @${MKDIR} ${PREFIX}/etc/gnome/libgnomeprint-2.0/fonts
- @${TOUCH} ${PREFIX}/etc/gnome/libgnomeprint-2.0/fonts/gnome-print.fontmap
+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/gnome/libgnomeprint-2.0/fonts
+ @${TOUCH} ${STAGEDIR}${PREFIX}/etc/gnome/libgnomeprint-2.0/fonts/gnome-print.fontmap
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgnomeprint-2-2.so.0
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgnomeprint/2.18.8/modules/*.so
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgnomeprint/2.18.8/modules/*/*.so
.include <bsd.port.mk>