1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/textproc/scew/Makefile
Sunpoet Po-Chuan Hsieh 092b349f66 Update to 1.1.9
- Simplify MASTER_SITES
- Add LICENSE_FILE
- Use USES=localbase
- Convert to test framework
- Sort PLIST
- Update pkg-descr
- Update WWW
- Take maintainership

Changes:	https://savannah.nongnu.org/forum/forum.php?forum_id=9096
2018-02-18 13:38:57 +00:00

37 lines
920 B
Makefile

# Created by: Pietro Cerutti <gahr@gahr.ch>
# $FreeBSD$
PORTNAME= scew
PORTVERSION= 1.1.9
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
OPTIONS_DEFINE= TEST
.if defined(MAINTAINER_MODE)
OPTIONS_DEFAULT=TEST
.endif
USES= gmake libtool localbase pathfix pkgconfig
CONFIGURE_ARGS= enable_tests=yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
TEST_LIB_DEPENDS= libcheck.so:devel/check
TEST_VARS= TEST_TARGET=check TEST_WRKSRC=${WRKSRC}/tests
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/
.include <bsd.port.mk>