1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Support staging

- Use options helpers
- Add LICENSE (GPLv2)
This commit is contained in:
Jason E. Hale 2014-06-24 12:12:31 +00:00
parent c315199b44
commit a813d803b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359078
2 changed files with 6 additions and 13 deletions

View File

@ -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 \

View File

@ -1,4 +1,5 @@
bin/gtkhx
man/man1/gtkhx.1.gz
%%DATADIR%%/sounds/chatinvite.aiff
%%DATADIR%%/sounds/chatpost.aiff
%%DATADIR%%/sounds/error.aiff