aboutsummaryrefslogtreecommitdiffstats
path: root/print/gnome-cups-manager
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2006-11-05 11:43:41 +0800
committermezz <mezz@FreeBSD.org>2006-11-05 11:43:41 +0800
commit8e570bffc87c6262d9d3973549ea6fe7f7c7288b (patch)
treea02d81e04c4fd9dd740967ae458ddfb0baf2eb46 /print/gnome-cups-manager
parenta084b7e1c9b0ecbcd41d710fe62c4aec61d2c045 (diff)
downloadfreebsd-ports-gnome-8e570bffc87c6262d9d3973549ea6fe7f7c7288b.tar.gz
freebsd-ports-gnome-8e570bffc87c6262d9d3973549ea6fe7f7c7288b.tar.zst
freebsd-ports-gnome-8e570bffc87c6262d9d3973549ea6fe7f7c7288b.zip
-INSTALLS_SHLIB -> USE_LDCONFIG.[1]
-Find cups modules in the correct path. -Bump the PORTREVISION. Found by: portlint (cports.sh)[1]
Diffstat (limited to 'print/gnome-cups-manager')
-rw-r--r--print/gnome-cups-manager/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/print/gnome-cups-manager/Makefile b/print/gnome-cups-manager/Makefile
index 8f1b58d53468..7e56626526c0 100644
--- a/print/gnome-cups-manager/Makefile
+++ b/print/gnome-cups-manager/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gnome-cups-manager
PORTVERSION= 0.31
-PORTREVISION= 3
+PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= print gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
@@ -27,7 +27,7 @@ USE_GNOME= gnomeprefix gnomehack intlhack libgnomeprintui libgnomeui \
desktopfileutils
USE_GETTEXT= yes
INSTALLS_ICONS= yes
-INSTALLS_SHLIB= yes
+USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
@@ -38,6 +38,8 @@ post-patch:
> ${WRKSRC}/gnome-cups-manager.desktop
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
's|-D.*_DISABLE_DEPRECATED||g'
+ @${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|g' \
+ ${WRKSRC}/libgnomecups/gnome-cups-ui-driver.c
post-install:
${MKDIR} ${PREFIX}/share/gnome/applications