summaryrefslogtreecommitdiff
path: root/print/gtklp
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-04-03 18:03:32 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-04-03 18:03:32 +0000
commit5c48ee75e7f35609c098569e3c90a4b0ea8b974c (patch)
treeb0456e79422fdfce3b413acbb0b4ce362477fb42 /print/gtklp
parent- Add staging support (diff)
- 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
Notes
Notes: svn path=/head/; revision=350033
Diffstat (limited to 'print/gtklp')
-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