From 3e293df4c989317896c2359cf9253197b662e8f2 Mon Sep 17 00:00:00 2001 From: jgh Date: Fri, 19 Jul 2013 18:36:42 +0000 Subject: - convert USE_GMAKE and to new options style for NLS - take maintainership --- editors/leafpad/Makefile | 19 +++++++------------ 1 file 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 -.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} -- cgit