aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/gtkhx
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2008-01-04 21:17:25 +0800
committeraraujo <araujo@FreeBSD.org>2008-01-04 21:17:25 +0800
commit630930f0eda1459a2d8397f70203ca8838bf9187 (patch)
tree94bfa0cab1155612a2fa5de75d45c8b319069e7c /net-p2p/gtkhx
parent9fc5ece02e0183b9198ad80bbdb869520e38787f (diff)
downloadfreebsd-ports-gnome-630930f0eda1459a2d8397f70203ca8838bf9187.tar.gz
freebsd-ports-gnome-630930f0eda1459a2d8397f70203ca8838bf9187.tar.zst
freebsd-ports-gnome-630930f0eda1459a2d8397f70203ca8838bf9187.zip
- Drop maintainership. [1]
- Respect WITHOUT_NLS. - Some portlint cleanups. PR: ports/117225 Submitted by: Naram Qashat <cyberbotx@cyberbotx.com> Josh Elsasser <josh@elsasser.org> (maintainer) [1] Approved by: stas (mentor, implicit)
Diffstat (limited to 'net-p2p/gtkhx')
-rw-r--r--net-p2p/gtkhx/Makefile11
-rw-r--r--net-p2p/gtkhx/pkg-plist26
2 files changed, 22 insertions, 15 deletions
diff --git a/net-p2p/gtkhx/Makefile b/net-p2p/gtkhx/Makefile
index aaa5bdc2bd0f..94ff75de81de 100644
--- a/net-p2p/gtkhx/Makefile
+++ b/net-p2p/gtkhx/Makefile
@@ -12,10 +12,9 @@ CATEGORIES= net-p2p
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gtkhx
-MAINTAINER= jre@vineyard.net
+MAINTAINER= ports@FreeBSD.org
COMMENT= A GTK+ version of Hx, a UNIX Hotline Client
-USE_GETTEXT= yes
USE_XLIB= yes
USE_GNOME= gdkpixbuf
USE_GMAKE= yes
@@ -30,4 +29,12 @@ MAN1= gtkhx.1
BROKEN= Does not compile with GCC 4.2
.endif
+.if !defined(WITHOUT_NLS)
+PLIST_SUB+= NLS=""
+USE_GETTEXT= yes
+.else
+PLIST_SUB+= NLS="@comment "
+CONFIGURE_ARGS+=--disable-nls
+.endif
+
.include <bsd.port.post.mk>
diff --git a/net-p2p/gtkhx/pkg-plist b/net-p2p/gtkhx/pkg-plist
index 41746a3be199..5249d00963af 100644
--- a/net-p2p/gtkhx/pkg-plist
+++ b/net-p2p/gtkhx/pkg-plist
@@ -1,14 +1,14 @@
bin/gtkhx
-share/locale/fr/LC_MESSAGES/gtkhx.mo
-share/gtkhx/sounds/chatinvite.aiff
-share/gtkhx/sounds/chatpost.aiff
-share/gtkhx/sounds/error.aiff
-share/gtkhx/sounds/filedone.aiff
-share/gtkhx/sounds/join.aiff
-share/gtkhx/sounds/logged-in.aiff
-share/gtkhx/sounds/message.aiff
-share/gtkhx/sounds/newspost.aiff
-share/gtkhx/sounds/part.aiff
-share/gtkhx/icons.rsrc
-@dirrm share/gtkhx/sounds
-@dirrm share/gtkhx
+%%DATADIR%%/sounds/chatinvite.aiff
+%%DATADIR%%/sounds/chatpost.aiff
+%%DATADIR%%/sounds/error.aiff
+%%DATADIR%%/sounds/filedone.aiff
+%%DATADIR%%/sounds/join.aiff
+%%DATADIR%%/sounds/logged-in.aiff
+%%DATADIR%%/sounds/message.aiff
+%%DATADIR%%/sounds/newspost.aiff
+%%DATADIR%%/sounds/part.aiff
+%%DATADIR%%/icons.rsrc
+%%NLS%%share/locale/fr/LC_MESSAGES/gtkhx.mo
+@dirrm %%DATADIR%%/sounds
+@dirrm %%DATADIR%%