freebsd-ports/editors/poedit/Makefile
Gerald Pfeifer 15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00

43 lines
1 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.4.6.1
PORTREVISION= 5
CATEGORIES= editors
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.4.6/
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Gettext catalogs (.po files) editor
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
LIB_DEPENDS= libgtkspell.so:${PORTSDIR}/textproc/gtkspell
USES= gettext gmake pkgconfig desktop-file-utils
USE_WX= 2.8+
WX_CONF_ARGS= absolute
WX_UNICODE= yes
USE_BDB= yes
WITH_BDB_HIGHEST= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= WXRC="${WXRC_CMD}"
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
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>