1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/editors/xmleditor/Makefile

33 lines
660 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
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e '257s,((char\*)\*n),n,' \
-e '/gtk_xml_modules_add_module/s,const ,,' \
${WRKSRC}/src/gtkxmlmodules.*
.include <bsd.port.mk>