aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-04-04 02:03:32 +0800
committerantoine <antoine@FreeBSD.org>2014-04-04 02:03:32 +0800
commitf610f9c58c81a098a8e9721f0d6e250db120ca25 (patch)
treeb0456e79422fdfce3b413acbb0b4ce362477fb42 /print
parent5551f2ddab9cbdd66fde12f7e0ddb8af49c2318b (diff)
downloadfreebsd-ports-gnome-f610f9c58c81a098a8e9721f0d6e250db120ca25.tar.gz
freebsd-ports-gnome-f610f9c58c81a098a8e9721f0d6e250db120ca25.tar.zst
freebsd-ports-gnome-f610f9c58c81a098a8e9721f0d6e250db120ca25.zip
- Stage support
- Fix build with new cups - NLS is not optional, doesn't build if disabled Reported by: pkg-fallout With hat: portmgr MFH: 2014Q2
Diffstat (limited to 'print')
-rw-r--r--print/gtklp/Makefile19
-rw-r--r--print/gtklp/pkg-plist2
2 files changed, 5 insertions, 16 deletions
diff --git a/print/gtklp/Makefile b/print/gtklp/Makefile
index 8b2f573a90d2..95e5eaad3cef 100644
--- a/print/gtklp/Makefile
+++ b/print/gtklp/Makefile
@@ -11,29 +11,16 @@ MASTER_SITES= SF
MAINTAINER= sylvio@FreeBSD.org
COMMENT= GTK interface to cups
-LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-client
+LIB_DEPENDS= libcups.so:${PORTSDIR}/print/cups-client
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USES= pkgconfig
+USES= gettext pkgconfig
USE_GNOME= gtk20
USE_OPENSSL= yes
USE_AUTOTOOLS= automake:env
GNU_CONFIGURE= yes
-CPPFLAGS+= -I${LOCALBASE}/include
+CPPFLAGS+= -I${LOCALBASE}/include -D_IPP_PRIVATE_STRUCTURES
LDFLAGS+= -L${LOCALBASE}/lib
-MAN1= gtklp.1 gtklpq.1
-
-NO_STAGE= yes
-
-OPTIONS_DEFINE= NLS
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-.endif
-
.include <bsd.port.mk>
diff --git a/print/gtklp/pkg-plist b/print/gtklp/pkg-plist
index 8b7a8671db16..bc29be523982 100644
--- a/print/gtklp/pkg-plist
+++ b/print/gtklp/pkg-plist
@@ -1,5 +1,7 @@
bin/gtklp
bin/gtklpq
+man/man1/gtklp.1.gz
+man/man1/gtklpq.1.gz
share/locale/ca/LC_MESSAGES/gtklp.mo
share/locale/ca_ES/LC_MESSAGES/gtklp.mo
share/locale/chs/LC_MESSAGES/gtklp.mo