Date: Mon, 10 Feb 2014 09:37:48 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343608 - head/chinese/ttfm Message-ID: <201402100937.s1A9bmND031516@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Mon Feb 10 09:37:47 2014 New Revision: 343608 URL: http://svnweb.freebsd.org/changeset/ports/343608 QAT: https://qat.redports.org/buildarchive/r343608/ Log: - Support staging - Define DOCS Modified: head/chinese/ttfm/Makefile head/chinese/ttfm/pkg-plist Modified: head/chinese/ttfm/Makefile ============================================================================== --- head/chinese/ttfm/Makefile Mon Feb 10 09:19:28 2014 (r343607) +++ head/chinese/ttfm/Makefile Mon Feb 10 09:37:47 2014 (r343608) @@ -17,9 +17,8 @@ LIB_DEPENDS= libfreetype.so:${PORTSDIR}/ MAKE_ARGS= FREETYPE_BASE=${LOCALBASE:Q} CC="${CC}" PORTDOCS= README USAGE -MAN1= ttfm.sh.1 -NO_STAGE= yes +OPTIONS_DEFINE= DOCS .include <bsd.port.options.mk> @@ -31,18 +30,16 @@ post-patch: ${WRKSRC}/ttfm.sh do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/ttfinfo ${PREFIX}/bin/ - ${INSTALL_SCRIPT} ${WRKSRC}/ttfm.sh ${PREFIX}/bin/ -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/ttfinfo ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_SCRIPT} ${WRKSRC}/ttfm.sh ${STAGEDIR}${PREFIX}/bin/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}/ .endfor -.endif - ${INSTALL_MAN} ${WRKSRC}/ttfm.sh.1 ${MANPREFIX}/man/man1/ - @${MKDIR} ${DATADIR} + ${INSTALL_MAN} ${WRKSRC}/ttfm.sh.1 ${STAGEDIR}${MANPREFIX}/man/man1/ + @${MKDIR} ${STAGEDIR}${DATADIR} .for module in gscjk.ttfm xttfm.ttfm - ${INSTALL_SCRIPT} ${WRKSRC}/modules/${module} ${DATADIR}/ + ${INSTALL_SCRIPT} ${WRKSRC}/modules/${module} ${STAGEDIR}${DATADIR}/ .endfor .include <bsd.port.mk> Modified: head/chinese/ttfm/pkg-plist ============================================================================== --- head/chinese/ttfm/pkg-plist Mon Feb 10 09:19:28 2014 (r343607) +++ head/chinese/ttfm/pkg-plist Mon Feb 10 09:37:47 2014 (r343608) @@ -1,5 +1,6 @@ bin/ttfinfo bin/ttfm.sh +man/man1/ttfm.sh.1.gz %%DATADIR%%/gscjk.ttfm %%DATADIR%%/xttfm.ttfm @dirrm %%DATADIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402100937.s1A9bmND031516>