Date: Thu, 6 Nov 2003 17:24:28 +0100 From: Stefan Walter <sw@gegenunendlich.de> To: freebsd-gnats-submit@freebsd.org, freebsd-ports-bugs@freebsd.org Subject: Re: ports/54372: new port: FoilTeX - a collection of LaTeX files for making foils/slides Message-ID: <20031106162428.GA13341@kyuzo.dunkelkammer.void> In-Reply-To: <20031105094606.GA2073@kyuzo.dunkelkammer.void> References: <20031105094606.GA2073@kyuzo.dunkelkammer.void>
next in thread | previous in thread | raw e-mail | index | archive | help
Greg Lewis suggested a few changes, so I made another one. Changes: - use a do-build target instead of do-extract - use %%VARIABLES%% in pkg-plist - run mktexlsr in post-install instead of telling the user to do so; it still has to be done manually when installing via pkg_add, thus the pkg-message --- beginning of foiltex.shar --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # foiltex/ # foiltex/pkg-message # foiltex/Makefile # foiltex/pkg-plist # foiltex/pkg-descr # foiltex/distinfo # echo c - foiltex/ mkdir -p foiltex/ > /dev/null 2>&1 echo x - foiltex/pkg-message sed 's/^X//' >foiltex/pkg-message << 'END-of-foiltex/pkg-message' X********************************************* XYou will probably need to update the content Xcache (e.g. by running 'mktexlsr') before you Xcan use the style files of this package. X********************************************* END-of-foiltex/pkg-message echo x - foiltex/Makefile sed 's/^X//' >foiltex/Makefile << 'END-of-foiltex/Makefile' X# New ports collection makefile for: foiltex X# Date created: 05 November 2003 X# Whom: Stefan Walter <sw@gegenunendlich.de> X# X# $FreeBSD$ X# X XPORTNAME= foiltex XPORTVERSION= 2.1.4a XCATEGORIES= textproc XMASTER_SITES= ${MASTER_SITE_TEX_CTAN} XMASTER_SITE_SUBDIR= nonfree/macros/latex/contrib/${PORTNAME} XDISTFILES= foiltex.dtx foiltex.ins XEXTRACT_ONLY= # empty X XMAINTAINER= sw@gegenunendlich.de XCOMMENT= A collection of LaTeX files for making foils X XEXTRACT_DEPENDS=latex:${PORTSDIR}/print/teTeX XRUN_DEPENDS= latex:${PORTSDIR}/print/teTeX X XNO_CDROM= redistribution on a not-for-profit basis only X XNO_WRKSUBDIR= yes X XLATEX_CMD= ${LOCALBASE}/bin/latex X XFOIL_DIR= ${PREFIX}/share/texmf/tex/latex/${PORTNAME} XDOC_FILES= ${WRKDIR}/foiltex.dtx ${WRKDIR}/foiltex.dvi XEXAMPLE_FILES= ${WRKDIR}/sampfoil.tex XFOIL_FILES= ${WRKDIR}/foil17.clo ${WRKDIR}/foil20.clo \ X ${WRKDIR}/foil25.clo ${WRKDIR}/foil30.clo \ X ${WRKDIR}/foils.cls ${WRKDIR}/foils.sty \ X ${WRKDIR}/foilshrt.clo ${WRKDIR}/fltfonts.def XPLIST_SUB= FOIL_DIR="${FOIL_DIR:S,^${PREFIX}/,,}" X Xdo-build: X @${CP} ${DISTDIR}/foiltex.ins ${WRKDIR}/foiltex.ins X @${CP} ${DISTDIR}/foiltex.dtx ${WRKDIR}/foiltex.dtx X @cd ${WRKDIR} && ${LATEX_CMD} foiltex.ins && \ X ${LATEX_CMD} foiltex.dtx && \ X ${LATEX_CMD} foiltex.dtx && \ X ${LATEX_CMD} foiltex.dtx X Xdo-install: X# install docs and example file? X.if !defined(NOPORTDOCS) X# install docs... X @${MKDIR} ${DOCSDIR} X @${INSTALL_DATA} ${DOC_FILES} ${DOCSDIR} X# ...and examples X @${MKDIR} ${EXAMPLESDIR} X @${INSTALL_DATA} ${EXAMPLE_FILES} ${EXAMPLESDIR} X.endif X# install data files X @${MKDIR} ${FOIL_DIR} X @${INSTALL_DATA} ${FOIL_FILES} ${FOIL_DIR} X Xpost-install: X @${LOCALBASE}/bin/mktexlsr X X.include <bsd.port.mk> END-of-foiltex/Makefile echo x - foiltex/pkg-plist sed 's/^X//' >foiltex/pkg-plist << 'END-of-foiltex/pkg-plist' X%%PORTDOCS%%%%DOCSDIR%%/foiltex.dtx X%%PORTDOCS%%%%DOCSDIR%%/foiltex.dvi X%%PORTDOCS%%%%EXAMPLESDIR%%/sampfoil.tex X%%FOIL_DIR%%/foil17.clo X%%FOIL_DIR%%/foil20.clo X%%FOIL_DIR%%/foil25.clo X%%FOIL_DIR%%/foil30.clo X%%FOIL_DIR%%/foils.cls X%%FOIL_DIR%%/foils.sty X%%FOIL_DIR%%/foilshrt.clo X%%FOIL_DIR%%/fltfonts.def X%%PORTDOCS%%@dirrm %%DOCSDIR%% X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% X@dirrm %%FOIL_DIR%% END-of-foiltex/pkg-plist echo x - foiltex/pkg-descr sed 's/^X//' >foiltex/pkg-descr << 'END-of-foiltex/pkg-descr' X"The FoilTeX is a collection of LaTeX files for making foils. A number Xof features are built-in including large sans serif font as normal font, Xoptions for setting normalsize at 20pt (default), 17pt, 25pt or 30pt, Xnew macros for starting new foils, for special environments like Theorem Xand Proof, simple macros to control the headline and footline." X XWWW: http://www.ctan.org/tex-archive/nonfree/macros/latex/contrib/foiltex/ END-of-foiltex/pkg-descr echo x - foiltex/distinfo sed 's/^X//' >foiltex/distinfo << 'END-of-foiltex/distinfo' XMD5 (foiltex.dtx) = 52be74b74f9bd3a7c14b64abe013ff0b XMD5 (foiltex.ins) = a3a0a5fd301af99b54289db83a881982 END-of-foiltex/distinfo exit --- end of foiltex.shar ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031106162428.GA13341>