a9f015d155
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
# $FreeBSD$
|
|
# $MCom: ports/editors/poedit/Makefile,v 1.2 2006/10/05 07:03:09 mezz Exp $
|
|
|
|
PORTNAME= poedit
|
|
PORTVERSION= 1.8.4
|
|
PORTREVISION= 22
|
|
CATEGORIES= editors
|
|
MASTER_SITES= https://github.com/vslavik/${PORTNAME}/releases/download/v${PORTVERSION}-oss/
|
|
|
|
MAINTAINER= rodrigo@FreeBSD.org
|
|
COMMENT= Gettext catalogs (.po files) editor
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
BUILD_DEPENDS= zip:archivers/zip
|
|
LIB_DEPENDS= libgtkspell.so:textproc/gtkspell \
|
|
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 pkgconfig
|
|
USE_WX= 3.0
|
|
WX_CONF_ARGS= absolute
|
|
WITH_BDB_HIGHEST= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= WXRC="${WXRC_CMD}"
|
|
INSTALLS_ICONS= yes
|
|
|
|
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>
|