freebsd-ports/textproc/scew/Makefile
Pietro Cerutti a3b74ede5d - Update to 1.1.7
- Enable testing when MAINTAINER_MODE is set

  Changes:

  * More initial whitespace fixes and off-by-one errors when parsing streams
    causes invalid XMLs and therefore Expat parsing errors.
    (reported by Anup Rao)
2014-03-13 13:38:24 +00:00

41 lines
870 B
Makefile

# Created by: Pietro Cerutti <gahr@gahr.ch>
# $FreeBSD$
PORTNAME= scew
PORTVERSION= 1.1.7
CATEGORIES= textproc
MASTER_SITES= SAVANNAH/${PORTNAME}/
MAINTAINER= gahr@FreeBSD.org
COMMENT= Simple C Expat Wrapper
LICENSE= LGPL21
LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USES= gmake pathfix pkgconfig
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
SCEW_EXAMPLES= print stream write
post-install:
.for ex in ${SCEW_EXAMPLES}
${INSTALL_SCRIPT} ${WRKSRC}/examples/${PORTNAME}_${ex}/${PORTNAME}_${ex} ${STAGEDIR}${PREFIX}/bin
.endfor
.ifdef MAINTAINER_MODE
LIB_DEPENDS+= libcheck.so:${PORTSDIR}/devel/libcheck
regression-test: build
cd ${WRKSRC}/tests && ${GMAKE} check
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == "powerpc"
BROKEN= Does not compile on powerpc
.endif
.include <bsd.port.post.mk>