# Created by: Pietro Cerutti # $FreeBSD: head/textproc/scew/Makefile 567631 2021-03-07 22:14:35Z sunpoet $ PORTNAME= scew PORTVERSION= 1.2.0 CATEGORIES= textproc MASTER_SITES= SAVANNAH MAINTAINER= sunpoet@FreeBSD.org COMMENT= Simple C Expat Wrapper LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexpat.so:textproc/expat2 USES= gmake libtool localbase pathfix pkgconfig CONFIGURE_ARGS= enable_tests=yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes TEST_WRKSRC= ${WRKSRC}/tests OPTIONS_DEFINE= TEST TEST_LIB_DEPENDS= libcheck.so:devel/check TEST_TEST_TARGET= check post-install: ${INSTALL_SCRIPT} ${WRKSRC}/examples/scew_print/scew_print ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_SCRIPT} ${WRKSRC}/examples/scew_stream/scew_stream ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_SCRIPT} ${WRKSRC}/examples/scew_write/scew_write ${STAGEDIR}${PREFIX}/bin/ # maintainer section: .if defined(MAINTAINER_MODE) OPTIONS_DEFAULT=TEST .endif .include