1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/editors/madedit/Makefile
Baptiste Daroussin 1ae9854be4 Switch to wx 2.8
Convert to stage
Add missing USES=desktop-file-utils
2014-03-24 11:50:35 +00:00

33 lines
838 B
Makefile

# Created by: Xin LI <delphij@FreeBSD.org>
# $FreeBSD$
PORTNAME= madedit
PORTVERSION= 0.2.9
PORTREVISION= 10
CATEGORIES= editors
MASTER_SITES= SF/${PORTNAME}/MadEdit/MadEdit-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Open-source and cross-platform text/hex editor
LICENSE= GPLv2
USES= gettext pkgconfig dos2unix desktop-file-utils
USE_WX= 2.8+
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/pkgconf
glib_gtk2_CFLAGS=`${PKG_CONFIG} --cflags gtk+-2.0`
glib_gtk2_LIBS= `${PKG_CONFIG} --libs gtk+-2.0`
BROKEN_sparc64= yes
.include <bsd.port.mk>