Date: Thu, 10 Oct 2013 00:00:29 +0000 (UTC) From: Guido Falsi <madpilot@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329944 - head/devel/t1lib Message-ID: <201310100000.r9A00T5f019204@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: madpilot Date: Thu Oct 10 00:00:28 2013 New Revision: 329944 URL: http://svnweb.freebsd.org/changeset/ports/329944 Log: - Convert to staging - Use option helpers - Convert to USES=gmake Modified: head/devel/t1lib/Makefile (contents, props changed) Modified: head/devel/t1lib/Makefile ============================================================================== --- head/devel/t1lib/Makefile Wed Oct 9 23:59:14 2013 (r329943) +++ head/devel/t1lib/Makefile Thu Oct 10 00:00:28 2013 (r329944) @@ -12,7 +12,7 @@ MASTER_SITE_SUBDIR= libs/graphics MAINTAINER= ports@FreeBSD.org COMMENT= Type 1 font rasterization library for Unix/X11 -USE_GMAKE= yes +USES= gmake USE_AUTOTOOLS= libtool ALL_TARGET= without_doc USE_LDCONFIG= yes @@ -20,17 +20,9 @@ USE_LDCONFIG= yes OPTIONS_DEFINE= X11 DOCS OPTIONS_DEFAULT= X11 -NO_STAGE= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MX11} -USE_XORG= xaw -CONFIGURE_ARGS+= --with-x -PLIST_SUB+= X11="" -.else -CONFIGURE_ARGS+= --without-x -PLIST_SUB+= X11="@comment " -.endif +OPTIONS_SUB= yes +X11_USE= XORG=xaw +X11_CONFIGURE_WITH= x post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ @@ -41,9 +33,7 @@ post-patch: 's|_LT_CURRENT=.*$$|_LT_CURRENT=5|g' ${WRKSRC}/configure post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/t1lib_doc.pdf ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/t1lib_doc.pdf ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310100000.r9A00T5f019204>