2001-03-27 17:45:18 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: poedit
|
|
|
|
# Date created: Mar 27, 2001
|
|
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2006-10-14 10:54:54 +02:00
|
|
|
# $MCom: ports/editors/poedit/Makefile,v 1.2 2006/10/05 07:03:09 mezz Exp $
|
2001-03-27 17:45:18 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= poedit
|
2006-09-20 05:29:38 +02:00
|
|
|
PORTVERSION= 1.3.5
|
2006-10-14 10:54:54 +02:00
|
|
|
PORTREVISION= 2
|
2001-03-27 17:45:18 +02:00
|
|
|
CATEGORIES= editors
|
2001-05-30 13:46:19 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2001-03-27 17:45:18 +02:00
|
|
|
|
2002-02-26 08:45:17 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-11-10 00:18:59 +01:00
|
|
|
COMMENT= Gettext catalogs (.po files) editor
|
2001-03-27 17:45:18 +02:00
|
|
|
|
|
|
|
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
|
2006-05-28 17:54:10 +02:00
|
|
|
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
|
2001-03-27 17:45:18 +02:00
|
|
|
|
2004-10-12 00:49:52 +02:00
|
|
|
USE_GETTEXT= yes
|
2001-03-27 17:45:18 +02:00
|
|
|
USE_GMAKE= yes
|
2006-09-20 05:29:38 +02:00
|
|
|
USE_GNOME= gnometarget pkgconfig
|
|
|
|
USE_BDB= yes
|
|
|
|
WITH_BDB_HIGHEST= yes
|
2002-09-17 19:36:41 +02:00
|
|
|
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
|
2001-11-28 21:55:42 +01:00
|
|
|
|
2006-09-20 05:29:38 +02:00
|
|
|
CPPFLAGS= -I${BDB_INCLUDE_DIR} \
|
2003-11-10 00:18:59 +01:00
|
|
|
-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
2006-09-20 05:29:38 +02:00
|
|
|
LDFLAGS= -L${BDB_LIB_DIR} ${PTHREAD_LIBS}
|
2001-04-09 03:34:31 +02:00
|
|
|
|
2003-11-09 22:55:02 +01:00
|
|
|
MAN1= poedit.1
|
2001-03-27 17:45:18 +02:00
|
|
|
|
2002-09-17 19:36:41 +02:00
|
|
|
post-patch:
|
2004-10-12 00:49:52 +02:00
|
|
|
@${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
|
2004-10-12 00:49:52 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/^SUBDIRS/s/ install / /' ${WRKSRC}/Makefile.in
|
2002-05-08 17:33:29 +02:00
|
|
|
|
2002-09-17 19:36:41 +02:00
|
|
|
.include <bsd.port.mk>
|