Date: Sun, 7 Feb 2016 11:55:46 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408382 - head/graphics/megapov Message-ID: <201602071155.u17BtkAh045701@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sun Feb 7 11:55:46 2016 New Revision: 408382 URL: https://svnweb.freebsd.org/changeset/ports/408382 Log: - Switch to USES=localbase - Switch to options helpers Modified: head/graphics/megapov/Makefile Modified: head/graphics/megapov/Makefile ============================================================================== --- head/graphics/megapov/Makefile Sun Feb 7 11:52:58 2016 (r408381) +++ head/graphics/megapov/Makefile Sun Feb 7 11:55:46 2016 (r408382) @@ -17,14 +17,10 @@ LIB_DEPENDS= libpng.so:${PORTSDIR}/graph WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} INSTALL_WRKSRC= ${WRKSRC}/unix -USES= gmake jpeg tar:bzip2 +USES= gmake jpeg localbase tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ARGS= COMPILED_BY="ports@FreeBSD.org" -CFLAGS+= -I${LOCALBASE}/include -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - PORTDOCS= * PORTEXAMPLES= * PLIST_FILES= bin/megapov @@ -46,12 +42,12 @@ post-patch: @${REINPLACE_CMD} -e \ 's|"-O3"|""|' ${WRKSRC}/configure -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} -.for i in include scenes - @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${EXAMPLESDIR}) -.endfor + @(cd ${WRKSRC} && ${COPYTREE_SHARE} "include scenes" ${STAGEDIR}${EXAMPLESDIR}) .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602071155.u17BtkAh045701>