aboutsummaryrefslogtreecommitdiff
path: root/graphics/gtkdps
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2006-07-25 23:05:58 +0000
committerThierry Thomas <thierry@FreeBSD.org>2006-07-25 23:05:58 +0000
commita3b3ef7a27d808710adad02c23a26495d7ece2f2 (patch)
tree1a21f882573c68089f6e24d3d0e8df5ef427c943 /graphics/gtkdps
parent3cde2bd37be8c6b93f9c56ff19c23e9ba1cbfee5 (diff)
downloadports-a3b3ef7a27d808710adad02c23a26495d7ece2f2.tar.gz
ports-a3b3ef7a27d808710adad02c23a26495d7ece2f2.zip
Notes
Diffstat (limited to 'graphics/gtkdps')
-rw-r--r--graphics/gtkdps/Makefile24
-rw-r--r--graphics/gtkdps/distinfo6
-rw-r--r--graphics/gtkdps/pkg-descr5
-rw-r--r--graphics/gtkdps/pkg-plist1
4 files changed, 24 insertions, 12 deletions
diff --git a/graphics/gtkdps/Makefile b/graphics/gtkdps/Makefile
index a370c18742be..98266af798b1 100644
--- a/graphics/gtkdps/Makefile
+++ b/graphics/gtkdps/Makefile
@@ -6,30 +6,38 @@
#
PORTNAME= gtkdps
-PORTVERSION= 0.3.2
-PORTREVISION= 2
+PORTVERSION= 0.3.4
CATEGORIES= graphics
-MASTER_SITES= ftp://ftp.aist-nara.ac.jp/pub/personal/masata-y/gtkDPS/
+MASTER_SITES= ftp://ftp.gyve.org/pub/gtkDPS/ \
+ ${MASTER_SITE_GENTOO}
+MASTER_SITE_SUBDIR= distfiles
DISTNAME= gtkDPS-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Gtk bindings for the Display GhostScript System
-BUILD_DEPENDS= pswrap:${PORTSDIR}/x11/dgs
-RUN_DEPENDS= pswrap:${PORTSDIR}/x11/dgs
-
-BROKEN= Unfetchable
+LIB_DEPENDS+= dpstk.0:${PORTSDIR}/x11/dgs
USE_GNOME= gtk12
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --with-dps-includes=${X11BASE}/include \
--with-dps-libraries=${X11BASE}/lib
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == "alpha"
-BROKEN= "Does not compile on alpha"
+BROKEN= Does not compile on alpha
.endif
post-patch:
diff --git a/graphics/gtkdps/distinfo b/graphics/gtkdps/distinfo
index 3f9f26964df5..3b87a7dd09df 100644
--- a/graphics/gtkdps/distinfo
+++ b/graphics/gtkdps/distinfo
@@ -1,3 +1,3 @@
-MD5 (gtkDPS-0.3.2.tar.gz) = 89c41eddc33a58cb98f3a374067faf7b
-SHA256 (gtkDPS-0.3.2.tar.gz) = c4f804c7cfdb32993b70ffef9537a85ca559547693c3f09de820c07a6a431f6b
-SIZE (gtkDPS-0.3.2.tar.gz) = 267666
+MD5 (gtkDPS-0.3.4.tar.gz) = 59fdb6b71bf75e61a0a3477583e9ab98
+SHA256 (gtkDPS-0.3.4.tar.gz) = 4470246387b4da2b6776851c6c6c618626d25385c92572cf8926dd7e2d5420ce
+SIZE (gtkDPS-0.3.4.tar.gz) = 283091
diff --git a/graphics/gtkdps/pkg-descr b/graphics/gtkdps/pkg-descr
index 083ef82caef7..aabd7ebd475a 100644
--- a/graphics/gtkdps/pkg-descr
+++ b/graphics/gtkdps/pkg-descr
@@ -1 +1,4 @@
-gtk bindings for the Display GhostScript System
+A set of functions, objects, and widgets to use Display GhostScript System
+easily with GTK.
+
+WWW: http://www.gyve.org/gtkDPS/
diff --git a/graphics/gtkdps/pkg-plist b/graphics/gtkdps/pkg-plist
index 1719dd2989d2..c4eb27d5b30b 100644
--- a/graphics/gtkdps/pkg-plist
+++ b/graphics/gtkdps/pkg-plist
@@ -16,4 +16,5 @@ lib/libgtkDPS.a
lib/libgtkDPS.so
lib/libgtkDPS.so.1
share/aclocal/gtkDPS.m4
+%%NLS%%share/locale/ja/LC_MESSAGES/gtkDPS.mo
@dirrm include/gtkDPS