mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-06 01:57:40 +00:00
aaf02b4ae5
Reported by: pointyhat
38 lines
812 B
Makefile
38 lines
812 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: xmleditor
|
|
# Date created: Jan 18, 2003
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xmleditor
|
|
PORTVERSION= 0.5.3
|
|
PORTREVISION= 5
|
|
CATEGORIES= editors
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= XML editor
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
USE_BISON= yes
|
|
USE_GNOME= gnomehack libglade
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
CONFIGURE_ENV= 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>
|