freebsd-ports/editors/poedit/Makefile
Jan Beich dfe25d73e7 devel/icu: update to 72.1
Changes:	https://github.com/unicode-org/icu/releases/tag/release-72-1
Reported by:	GitHub (watch releases)
PR:		266582
Exp-run by:	antoine
2022-10-19 08:10:29 +00:00

43 lines
1.0 KiB
Makefile

PORTNAME= poedit
PORTVERSION= 3.0.1
PORTREVISION= 4
CATEGORIES= editors
MASTER_SITES= https://github.com/vslavik/${PORTNAME}/releases/download/v${PORTVERSION}-oss/
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Gettext catalogs (.po files) editor
WWW= https://www.poedit.net/
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= zip:archivers/zip
LIB_DEPENDS= libgtkspell3-3.so:textproc/gtkspell3 \
libboost_thread.so:devel/boost-libs \
libicui18n.so:devel/icu \
liblucene++.so:textproc/luceneplusplus
USES= bdb compiler:c++11-lib desktop-file-utils gettext gmake gnome \
pkgconfig
USE_WX= 3.0
WX_CONF_ARGS= absolute
WITH_BDB_HIGHEST= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= WXRC="${WXRC_CMD}"
CPPFLAGS+= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include
## -stdlib=libc++
LDFLAGS+= -lpthread -L${BDB_LIB_DIR} -L${LOCALBASE}/lib
OPTIONS_DEFINE= NLS
OPTIONS_SUB=yes
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
.include <bsd.port.mk>