Date: Sun, 26 Jan 2014 20:51:45 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341285 - head/textproc/foiltex Message-ID: <201401262051.s0QKpjKT028270@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Sun Jan 26 20:51:45 2014 New Revision: 341285 URL: http://svnweb.freebsd.org/changeset/ports/341285 QAT: https://qat.redports.org/buildarchive/r341285/ Log: Support staging. Sponsored by: Absolight Modified: head/textproc/foiltex/Makefile Modified: head/textproc/foiltex/Makefile ============================================================================== --- head/textproc/foiltex/Makefile Sun Jan 26 20:48:58 2014 (r341284) +++ head/textproc/foiltex/Makefile Sun Jan 26 20:51:45 2014 (r341285) @@ -23,12 +23,13 @@ FOIL_DIR= share/texmf/tex/latex/${PORTNA FOIL_FILES= foil17.clo foil20.clo foil25.clo foil30.clo foils.cls \ foils.sty foilshrt.clo fltfonts.def +OPTIONS_DEFINE= DOCS EXAMPLES + PORTDOCS= foiltex.dtx foiltex.dvi PORTEXAMPLES= sampfoil.tex PLIST_FILES= ${FOIL_FILES:S,^,${FOIL_DIR}/,} PLIST_DIRS= ${FOIL_DIR} -NO_STAGE= yes do-extract: ${MKDIR} ${WRKDIR} ${CP} ${DISTDIR}/foiltex.ins ${WRKDIR}/foiltex.ins @@ -41,29 +42,17 @@ do-build: ${LATEX_CMD} foiltex.dtx do-install: -# install data files - @${MKDIR} ${PREFIX}/${FOIL_DIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/${FOIL_DIR} .for file in ${FOIL_FILES} - ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/${FOIL_DIR} + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/${FOIL_DIR} .endfor -# install docs and example file? -.if !defined(NOPORTDOCS) -# install docs... - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor -.endif -.if !defined(NOPORTEXAMPLES) -# ...and examples - @${MKDIR} ${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for file in ${PORTEXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/${file} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${EXAMPLESDIR} .endfor -.endif - -post-install: - ${SETENV} LOCALBASE=${LOCALBASE} PKG_PREFIX=${PREFIX} \ - ${SH} ${PKGDIR}/pkg-install ${PKGNAME} POST-INSTALL .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401262051.s0QKpjKT028270>