Date: Tue, 10 Dec 2013 19:12:33 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336085 - head/net/tintin++ Message-ID: <201312101912.rBAJCX06077078@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Tue Dec 10 19:12:33 2013 New Revision: 336085 URL: http://svnweb.freebsd.org/changeset/ports/336085 Log: - Convert to new LIB_DEPENDS format - Convert to new options helper - Remove deprecated PTHREAD_* - Simplify Makefile Modified: head/net/tintin++/Makefile Modified: head/net/tintin++/Makefile ============================================================================== --- head/net/tintin++/Makefile Tue Dec 10 19:10:13 2013 (r336084) +++ head/net/tintin++/Makefile Tue Dec 10 19:12:33 2013 (r336085) @@ -12,7 +12,7 @@ COMMENT= Client program to help playing LICENSE= GPLv2 -LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre +LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre OPTIONS_DEFINE= BIG5 DOCS BIG5_DESC= Big5 support @@ -33,20 +33,14 @@ PORTDOCS= ${DOCS:T} SLAVEDIRS= chinese/tintin++ -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MBIG5} -CONFIGURE_ARGS+=--enable-big5 -.endif +BIG5_CONFIGURE_ARGS= --enable-big5 post-configure: - @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|-lpthread|-pthread|' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tt++ ${STAGEDIR}${PREFIX}/bin/ -.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/../ && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}/ -.endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312101912.rBAJCX06077078>