aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--print/gtklp/Makefile11
-rw-r--r--print/gtklp/distinfo6
-rw-r--r--print/gtklp/files/patch-configure.in27
-rw-r--r--print/gtklp/pkg-plist1
4 files changed, 10 insertions, 35 deletions
diff --git a/print/gtklp/Makefile b/print/gtklp/Makefile
index 45359002140d..05945e909514 100644
--- a/print/gtklp/Makefile
+++ b/print/gtklp/Makefile
@@ -6,13 +6,12 @@
#
PORTNAME= gtklp
-PORTVERSION= 1.2.6
+PORTVERSION= 1.2.7
DISTVERSIONSUFFIX= .src
-PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= SF
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= scjamorim@bsd.com.br
COMMENT= A gtk interface to cups
LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-client
@@ -20,7 +19,6 @@ LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-client
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GNOME= gnometarget gtk20
-USE_GETTEXT= yes
USE_OPENSSL= yes
USE_AUTOTOOLS= automake:19:env
GNU_CONFIGURE= yes
@@ -30,6 +28,9 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}"
MAN1= gtklp.1 gtklpq.1
-BROKEN= does not build
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.endif
.include <bsd.port.mk>
diff --git a/print/gtklp/distinfo b/print/gtklp/distinfo
index ddeb1123d2d4..ed7bfb11ecac 100644
--- a/print/gtklp/distinfo
+++ b/print/gtklp/distinfo
@@ -1,3 +1,3 @@
-MD5 (gtklp-1.2.6.src.tar.gz) = 69938c99e3163c9ef25e1ed559c74c65
-SHA256 (gtklp-1.2.6.src.tar.gz) = 024b041cbe64ccdc907f1aeeb055bffe1a40b880075daa992628e1a956d9ff9f
-SIZE (gtklp-1.2.6.src.tar.gz) = 659915
+MD5 (gtklp-1.2.7.src.tar.gz) = 4006867860704e359bc9b871db9f9530
+SHA256 (gtklp-1.2.7.src.tar.gz) = 6798abf8ed59ad874bd4703f3feb18a6f85c796e610da5fdbf576f3593b3c5a4
+SIZE (gtklp-1.2.7.src.tar.gz) = 739871
diff --git a/print/gtklp/files/patch-configure.in b/print/gtklp/files/patch-configure.in
deleted file mode 100644
index c6f171d96add..000000000000
--- a/print/gtklp/files/patch-configure.in
+++ /dev/null
@@ -1,27 +0,0 @@
---- configure.in.orig 2007-11-15 18:56:57.000000000 +0100
-+++ configure.in 2008-03-02 11:25:59.000000000 +0100
-@@ -43,20 +43,10 @@
-
- # gtk #######################################################################
- GTKVER=""
--if test x$enable_gtk1 = xyes; then
-- AM_PATH_GTK([1.2.8],,[AC_ERROR([GTK+ 1.2.8 or newer is needed for GtkLP!])])
-- GTKVER="-DHAVE_GTK1"
-- OLDDIALOG="-DOLDDIALOG"
-- AC_SUBST(OLDDIALOG)
--else
-- AC_MSG_RESULT([ ******************************************************** ])
-- AC_MSG_RESULT([ * If checking for Gtk2 fails, try to use --enable-gtk1 * ])
-- AC_MSG_RESULT([ ******************************************************** ])
-- PKG_CHECK_MODULES(GTK2, gtk+-2.0)
-- AC_SUBST(GTK2_CFLAGS)
-- AC_SUBST(GTK2_LIBS)
-- GTKVER="-DHAVE_GTK2"
--fi
-+PKG_CHECK_MODULES(GTK2, gtk+-2.0)
-+AC_SUBST(GTK2_CFLAGS)
-+AC_SUBST(GTK2_LIBS)
-+GTKVER="-DHAVE_GTK2"
-
- AC_SUBST(GTKVER)
-
diff --git a/print/gtklp/pkg-plist b/print/gtklp/pkg-plist
index e22447839a88..8b7a8671db16 100644
--- a/print/gtklp/pkg-plist
+++ b/print/gtklp/pkg-plist
@@ -6,6 +6,7 @@ share/locale/chs/LC_MESSAGES/gtklp.mo
share/locale/cht/LC_MESSAGES/gtklp.mo
share/locale/cz/LC_MESSAGES/gtklp.mo
share/locale/de/LC_MESSAGES/gtklp.mo
+share/locale/dk/LC_MESSAGES/gtklp.mo
share/locale/en/LC_MESSAGES/gtklp.mo
share/locale/es/LC_MESSAGES/gtklp.mo
share/locale/fr/LC_MESSAGES/gtklp.mo