090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
37 lines
856 B
Makefile
37 lines
856 B
Makefile
# New ports collection makefile for: madedit
|
|
# Date created: 2007-08-08
|
|
# Whom: Xin LI <delphij@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= madedit
|
|
PORTVERSION= 0.2.8
|
|
PORTREVISION= 1
|
|
CATEGORIES= editors
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= delphij@FreeBSD.org
|
|
COMMENT= An open-source and cross-platform text/hex editor
|
|
|
|
USE_GETTEXT= yes
|
|
USE_WX= 2.6+
|
|
WANT_UNICODE= yes
|
|
|
|
LIB_DEPENDS+= boost_regex:${PORTSDIR}/devel/boost
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+=--with-wx-config=${WX_CONFIG}
|
|
CONFIGURE_ENV+= PKG_CONFIG="${PKG_CONFIG}" glib_gtk2_CFLAGS="${glib_gtk2_CFLAGS}" glib_gtk2_LIBS="${glib_gtk2_LIBS}"
|
|
|
|
PKG_CONFIG?= ${LOCALBASE}/bin/pkg-config
|
|
glib_gtk2_CFLAGS=`${PKG_CONFIG} --cflags gtk+-2.0`
|
|
glib_gtk2_LIBS= `${PKG_CONFIG} --libs gtk+-2.0`
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
BROKEN= Does not compile
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|