Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 2014 12:12:32 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359078 - head/net-p2p/gtkhx
Message-ID:  <201406241212.s5OCCW8D086181@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406241212.s5OCCW8D086181>