summaryrefslogtreecommitdiff
path: root/editors/poedit/Makefile
diff options
context:
space:
mode:
authorRodrigo Osorio <rodrigo@FreeBSD.org>2014-08-05 21:48:21 +0000
committerRodrigo Osorio <rodrigo@FreeBSD.org>2014-08-05 21:48:21 +0000
commitee19e0204e3ea0efe32e3b8af4ff9e7fbc96e12d (patch)
tree24574827c972cc19d8b00bedbb6b55fd7617f8cb /editors/poedit/Makefile
parentAttempt to unbreak INDEX (diff)
- make NLS support optional
- bump PORTREVISION PR: ports/190974 Submitted by: nikola lecic <nikola.lecic@anthesphoria.net> Approved by: kwm (mentor)
Notes
Notes: svn path=/head/; revision=364141
Diffstat (limited to 'editors/poedit/Makefile')
-rw-r--r--editors/poedit/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/editors/poedit/Makefile b/editors/poedit/Makefile
index 761f29601f69..eceb18ee2a77 100644
--- a/editors/poedit/Makefile
+++ b/editors/poedit/Makefile
@@ -4,7 +4,7 @@
PORTNAME= poedit
PORTVERSION= 1.4.6.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= editors
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.4.6/
@@ -29,9 +29,17 @@ INSTALLS_ICONS= yes
CPPFLAGS+= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${BDB_LIB_DIR} -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+OPTIONS_DEFINE= NLS
+OPTIONS_SUB=yes
+
+.include <bsd.port.options.mk>
+
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
+
post-patch:
@${REINPLACE_CMD} -e \
's/for version in .*;/for version in ${BDB_VER};/ ; \
- s/-ldb-$$version/-l${BDB_LIB_NAME}/' ${WRKSRC}/configure
+ s/-ldb-$$version/-l${BDB_LIB_NAME}/' ${WRKSRC}/configure
.include <bsd.port.mk>