1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/textproc/scew/Makefile
Pietro Cerutti 91a4e7ee02 - Unbreak on powerpc, it builds fine
- While at it, make a few cosmetics changes

Reported by:	danfe
2014-07-21 08:01:02 +00:00

40 lines
800 B
Makefile

# Created by: Pietro Cerutti <gahr@gahr.ch>
# $FreeBSD$
PORTNAME= scew
PORTVERSION= 1.1.7
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= SAVANNAH/${PORTNAME}/
MAINTAINER= gahr@FreeBSD.org
COMMENT= Simple C Expat Wrapper
LICENSE= LGPL21
LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
USES= gmake libtool pathfix pkgconfig
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
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
${MAKE_CMD} -C ${WRKSRC}/tests check
.endif
.include <bsd.port.mk>