freebsd-ports/editors/xmleditor/Makefile
Baptiste Daroussin 9250d94365 Convert USE_BISON to USES= bison
It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build

it brings bison as a run dependency in case it is set the following way:
USES= bison:run

it brings bison both as a run and build dependency in case it the set the following way:
USES= bison:both

While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
2013-03-08 11:32:11 +00:00

31 lines
646 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= xmleditor
PORTVERSION= 0.5.3
PORTREVISION= 11
CATEGORIES= editors
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= XML editor
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= bison pathfix
USE_GNOME= libglade
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
USE_LDCONFIG= yes
# Fix for GCC 4.2
post-patch:
@${REINPLACE_CMD} -e '257s,((char\*)\*n),n,' \
-e '/gtk_xml_modules_add_module/s,const ,,' \
${WRKSRC}/src/gtkxmlmodules.*
.include <bsd.port.mk>