Date: Wed, 2 Jul 2014 12:00:59 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360170 - head/print/xmltex Message-ID: <201407021200.s62C0xrv025390@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Wed Jul 2 12:00:59 2014 New Revision: 360170 URL: http://svnweb.freebsd.org/changeset/ports/360170 QAT: https://qat.redports.org/buildarchive/r360170/ Log: Support stage Modified: head/print/xmltex/Makefile head/print/xmltex/pkg-plist Modified: head/print/xmltex/Makefile ============================================================================== --- head/print/xmltex/Makefile Wed Jul 2 11:41:16 2014 (r360169) +++ head/print/xmltex/Makefile Wed Jul 2 12:00:59 2014 (r360170) @@ -3,7 +3,7 @@ PORTNAME= xmltex PORTVERSION= 1.9 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= print MASTER_SITES= ftp://ftp.ctan.org/tex-archive/%SUBDIR%/ \ ${MASTER_SITE_TEX_CTAN} @@ -12,21 +12,19 @@ DISTFILES= ${DOC_FILES} ${CLASS_FILES} DIST_SUBDIR= ${PORTNAME} MAINTAINER= hrs@FreeBSD.org -COMMENT= A non-validating XML parser, written in TeX +COMMENT= non-validating XML parser, written in TeX -LIB_DEPENDS= png15:${PORTSDIR}/graphics/png +OPTIONS_DEFINE= DOCS -USE_TEX= tex +LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png -NO_STAGE= yes -.include <bsd.port.pre.mk> +USE_TEX= tex PLIST_SUB= MKTEXLSR=${MKTEXLSR} CLASSDIR=${CLASSDIR} WEB2CDIR=${WEB2CDIR} WRKSRC= ${WRKDIR}/base MAKE_ENV= TEXMFCNF=${FILESDIR}:${LOCALBASE}/${TEXMFWEB2C} -MKTEXLSR= ${LOCALBASE}/bin/mktexlsr TEXMFDIR= share/texmf TEXMFDISTDIR= share/texmf-dist TEXMFLOCALDIR= share/texmf-local @@ -56,16 +54,14 @@ post-patch: @${CP} ${FILESDIR}/Makefile ${WRKSRC} do-install: - ${INSTALL_DATA} ${WEB2C_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${WEB2CDIR} - ${MKDIR} -m 555 ${PREFIX}/${CLASSDIR} - ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR} -.endif + ${MKDIR} ${STAGEDIR}${PREFIX}/${WEB2CDIR} + ${INSTALL_DATA} ${WEB2C_FILES:S@^@${WRKSRC}/@} ${STAGEDIR}${PREFIX}/${WEB2CDIR} + ${MKDIR} ${STAGEDIR}${PREFIX}/${CLASSDIR} + ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${STAGEDIR}${PREFIX}/${CLASSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${STAGEDIR}${DOCSDIR} post-install: - ${LN} -s -f ${LOCALBASE}/bin/latex ${PREFIX}/bin/xmltex - ${MKTEXLSR} + ${LN} -s -f ${LOCALBASE}/bin/latex ${STAGEDIR}${PREFIX}/bin/xmltex -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/print/xmltex/pkg-plist ============================================================================== --- head/print/xmltex/pkg-plist Wed Jul 2 11:41:16 2014 (r360169) +++ head/print/xmltex/pkg-plist Wed Jul 2 12:00:59 2014 (r360170) @@ -1,3 +1,4 @@ +bin/xmltex %%PORTDOCS%%%%DOCSDIR%%/manual.html %%PORTDOCS%%%%DOCSDIR%%/manual.tex %%PORTDOCS%%%%DOCSDIR%%/manual.xml @@ -31,8 +32,6 @@ %%CLASSDIR%%/portugeselatin1.xml %%CLASSDIR%%/englishutf16.xml %%CLASSDIR%%/englishutf8.xml -@exec ln -s -f %D/bin/latex %D/bin/xmltex -@unexec rm -f %D/bin/xmltex > /dev/null 2>&1 || true @dirrm %%CLASSDIR%% @exec %%MKTEXLSR%% @unexec %%MKTEXLSR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407021200.s62C0xrv025390>