blob: ec5e14fd7f549ae9474c946a5cbf4d6789a154cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Created by: Xin LI <delphij@FreeBSD.org>
# $FreeBSD$
PORTNAME= madedit
PORTVERSION= 0.2.9
PORTREVISION= 8
CATEGORIES= editors
MASTER_SITES= SF/${PORTNAME}/MadEdit/MadEdit-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= An open-source and cross-platform text/hex editor
LICENSE= GPLv2
USES= gettext pkgconfig dos2unix
USE_WX= 2.6+
WANT_UNICODE= yes
LIB_DEPENDS+= libboost_regex.so:${PORTSDIR}/devel/boost-libs
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}"
CXXFLAGS+= ${glib_gtk2_CFLAGS}
PKG_CONFIG?= ${LOCALBASE}/bin/pkg-config
glib_gtk2_CFLAGS=`${PKG_CONFIG} --cflags gtk+-2.0`
glib_gtk2_LIBS= `${PKG_CONFIG} --libs gtk+-2.0`
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= Does not compile
.endif
.include <bsd.port.post.mk>
|