freebsd-ports/textproc/scew/Makefile
Pietro Cerutti ef297ed0e5 - Update to 1.1.5
ChangesLog: http://www.nongnu.org/scew/NEWS.txt
- Convert to new LIB_DEPENDS format
- Convert to USES=gmake
- STAGE-clean
- Add regression-test target
2014-01-17 09:10:58 +00:00

38 lines
777 B
Makefile

# Created by: Pietro Cerutti <gahr@gahr.ch>
# $FreeBSD$
PORTNAME= scew
PORTVERSION= 1.1.5
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
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
regression-test: build
cd ${WRKSRC}/tests && ${GMAKE} check
.include <bsd.port.pre.mk>
.if ${ARCH} == "powerpc"
BROKEN= Does not compile on powerpc
.endif
.include <bsd.port.post.mk>