svn commit: r359078 - head/net-p2p/gtkhx

Jason E. Hale jhale at FreeBSD.org
Tue Jun 24 12:12:32 UTC 2014


Author: jhale
Date: Tue Jun 24 12:12:31 2014
New Revision: 359078
URL: http://svnweb.freebsd.org/changeset/ports/359078
QAT: https://qat.redports.org/buildarchive/r359078/

Log:
  - Support staging
  - Use options helpers
  - Add LICENSE (GPLv2)

Modified:
  head/net-p2p/gtkhx/Makefile
  head/net-p2p/gtkhx/pkg-plist

Modified: head/net-p2p/gtkhx/Makefile
==============================================================================
--- head/net-p2p/gtkhx/Makefile	Tue Jun 24 11:49:52 2014	(r359077)
+++ head/net-p2p/gtkhx/Makefile	Tue Jun 24 12:12:31 2014	(r359078)
@@ -10,27 +10,19 @@ MASTER_SITES=	SF
 MAINTAINER=	ports at 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 \

Modified: head/net-p2p/gtkhx/pkg-plist
==============================================================================
--- head/net-p2p/gtkhx/pkg-plist	Tue Jun 24 11:49:52 2014	(r359077)
+++ head/net-p2p/gtkhx/pkg-plist	Tue Jun 24 12:12:31 2014	(r359078)
@@ -1,4 +1,5 @@
 bin/gtkhx
+man/man1/gtkhx.1.gz
 %%DATADIR%%/sounds/chatinvite.aiff
 %%DATADIR%%/sounds/chatpost.aiff
 %%DATADIR%%/sounds/error.aiff


More information about the svn-ports-head mailing list