svn commit: r323325 - head/editors/leafpad
Jason Helfman
jgh at FreeBSD.org
Fri Jul 19 18:36:43 UTC 2013
Author: jgh
Date: Fri Jul 19 18:36:42 2013
New Revision: 323325
URL: http://svnweb.freebsd.org/changeset/ports/323325
Log:
- convert USE_GMAKE and to new options style for NLS
- take maintainership
Modified:
head/editors/leafpad/Makefile
Modified: head/editors/leafpad/Makefile
==============================================================================
--- head/editors/leafpad/Makefile Fri Jul 19 18:02:44 2013 (r323324)
+++ head/editors/leafpad/Makefile Fri Jul 19 18:36:42 2013 (r323325)
@@ -8,12 +8,11 @@ CATEGORIES= editors
MASTER_SITES= SAVANNAH
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= jgh at FreeBSD.org
COMMENT= GTK+ based simple text editor
USE_GNOME= gtk20 intlhack
-USES= desktop-file-utils
-USE_GMAKE= yes
+USES= desktop-file-utils gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-chooser
INSTALLS_ICONS= yes
@@ -23,19 +22,15 @@ LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_L
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README
OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
-post-extract:
- @${CHMOD} a+x ${WRKSRC}/install-sh
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
+post-extract:
+ @${CHMOD} a+x ${WRKSRC}/install-sh
post-patch:
.if ! ${PORT_OPTIONS:MNLS}
More information about the svn-ports-head
mailing list