freebsd-ports/editors/poedit/Makefile

49 lines
1.3 KiB
Makefile
Raw Normal View History

# ex:ts=8
# New ports collection makefile for: poedit
# Date created: Mar 27, 2001
# Whom: 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
2006-09-20 05:29:38 +02:00
PORTVERSION= 1.3.5
PORTREVISION= 2
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
2002-02-26 08:45:17 +01:00
MAINTAINER= ports@FreeBSD.org
COMMENT= Gettext catalogs (.po files) editor
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell \
2006-09-20 05:29:38 +02:00
wx_gtk2u_core-2.6.0:${PORTSDIR}/x11-toolkits/wxgtk26-unicode
USE_GETTEXT= yes
USE_GMAKE= yes
2006-09-20 05:29:38 +02:00
USE_GNOME= gnometarget pkgconfig
USE_BDB= yes
WITH_BDB_HIGHEST= yes
GNU_CONFIGURE= yes
2006-09-20 05:29:38 +02:00
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}" \
WXRC="${X11BASE}/bin/wxrc-gtk2u-2.6"
CONFIGURE_ARGS= --with-wx-config=${X11BASE}/bin/wxgtk2u-2.6-config
2006-09-20 05:29:38 +02:00
CPPFLAGS= -I${BDB_INCLUDE_DIR} \
-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
2006-09-20 05:29:38 +02:00
LDFLAGS= -L${BDB_LIB_DIR} ${PTHREAD_LIBS}
2003-11-09 22:55:02 +01:00
MAN1= poedit.1
post-patch:
@${REINPLACE_CMD} -e \
2006-09-20 05:29:38 +02:00
's/for version in .*;/for version in ${BDB_VER};/ ; \
s/-ldb-$$version/-l${BDB_LIB_NAME}/' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
'/^SUBDIRS/s/ install / /' ${WRKSRC}/Makefile.in
2002-05-08 17:33:29 +02:00
.include <bsd.port.mk>