aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-07-20 02:36:42 +0800
committerjgh <jgh@FreeBSD.org>2013-07-20 02:36:42 +0800
commit3e293df4c989317896c2359cf9253197b662e8f2 (patch)
tree0c019a6a5381daf09229f1d2a5d2e6cf39898ad8
parent9530c8901bcbb56e50b5b651c69e077bdddcf609 (diff)
downloadfreebsd-ports-gnome-3e293df4c989317896c2359cf9253197b662e8f2.tar.gz
freebsd-ports-gnome-3e293df4c989317896c2359cf9253197b662e8f2.tar.zst
freebsd-ports-gnome-3e293df4c989317896c2359cf9253197b662e8f2.zip
- convert USE_GMAKE and to new options style for NLS
- take maintainership
-rw-r--r--editors/leafpad/Makefile19
1 files changed, 7 insertions, 12 deletions
diff --git a/editors/leafpad/Makefile b/editors/leafpad/Makefile
index 6b7abbfb3a71..019f41c4b0ea 100644
--- a/editors/leafpad/Makefile
+++ b/editors/leafpad/Makefile
@@ -8,12 +8,11 @@ CATEGORIES= editors
MASTER_SITES= SAVANNAH
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= jgh@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_LIBS}
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}