aboutsummaryrefslogtreecommitdiff
path: root/editors/leafpad
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-07-19 18:36:42 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-07-19 18:36:42 +0000
commitb136d26d7569c05823309ba2c8586d63f294491c (patch)
tree0c019a6a5381daf09229f1d2a5d2e6cf39898ad8 /editors/leafpad
parentd18298d495e7b4bd05186be317703a72251aeba8 (diff)
downloadports-b136d26d7569c05823309ba2c8586d63f294491c.tar.gz
ports-b136d26d7569c05823309ba2c8586d63f294491c.zip
Notes
Diffstat (limited to 'editors/leafpad')
-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}