aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2014-06-24 12:12:31 +0000
committerJason E. Hale <jhale@FreeBSD.org>2014-06-24 12:12:31 +0000
commita813d803b8507f34b409978cdd6d41fc1bc801de (patch)
tree6454d308acf7a4b33f130d6c06ef245c1ac310fb /net-p2p
parentc315199b44aed18b9a30bb0961c91ef6bdd35abe (diff)
downloadports-a813d803b8507f34b409978cdd6d41fc1bc801de.tar.gz
ports-a813d803b8507f34b409978cdd6d41fc1bc801de.zip
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/gtkhx/Makefile18
-rw-r--r--net-p2p/gtkhx/pkg-plist1
2 files changed, 6 insertions, 13 deletions
diff --git a/net-p2p/gtkhx/Makefile b/net-p2p/gtkhx/Makefile
index 40cab2560a6b..a952ce545d98 100644
--- a/net-p2p/gtkhx/Makefile
+++ b/net-p2p/gtkhx/Makefile
@@ -10,27 +10,19 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK+ version of Hx, a UNIX Hotline Client
+LICENSE= GPLv2
+
USES= pathfix gmake
USE_GNOME= gdkpixbuf
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-MAN1= gtkhx.1
-
-NO_STAGE= yes
-
OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-PLIST_SUB+= NLS=""
-USES+= gettext
-.else
-PLIST_SUB+= NLS="@comment "
-CONFIGURE_ARGS+=--disable-nls
-.endif
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
diff --git a/net-p2p/gtkhx/pkg-plist b/net-p2p/gtkhx/pkg-plist
index 5249d00963af..94e5e6865253 100644
--- a/net-p2p/gtkhx/pkg-plist
+++ b/net-p2p/gtkhx/pkg-plist
@@ -1,4 +1,5 @@
bin/gtkhx
+man/man1/gtkhx.1.gz
%%DATADIR%%/sounds/chatinvite.aiff
%%DATADIR%%/sounds/chatpost.aiff
%%DATADIR%%/sounds/error.aiff