ports/54372: new port: FoilTeX - a collection of LaTeX files for making foils/slides

Stefan Walter sw at gegenunendlich.de
Wed Nov 5 09:46:11 UTC 2003


The distfiles seem to have moved in the meantime. To reduce work for the
committer, I made a new shar file that includes the previously sent
patch for pkg-plist, too.

--- beginning of shar file ---
# 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/Makefile
#	foiltex/pkg-plist
#	foiltex/pkg-descr
#	foiltex/pkg-message
#	foiltex/distinfo
#
echo c - foiltex
mkdir -p foiltex > /dev/null 2>&1
echo x - foiltex/Makefile
sed 's/^X//' >foiltex/Makefile << 'END-of-foiltex/Makefile'
X# New ports collection makefile for:	foiltex
X# Date created:		11 July 2003
X# Whom:			Stefan Walter <sw at 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
X
XMAINTAINER=	sw at 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_BUILD=	yes
XNO_WRKSUBDIR=	yes
X
XEXTRACT_CMD=	latex
XEXTRACT_BEFORE_ARGS=	#empty
XEXTRACT_AFTER_ARGS=	#empty
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
X
Xdo-extract:
X	@${MKDIR} ${WRKDIR}
X	@${CP} ${DISTDIR}/foiltex.ins ${WRKDIR}/foiltex.ins
X	@${CP} ${DISTDIR}/foiltex.dtx ${WRKDIR}/foiltex.dtx
X	@cd ${WRKDIR} && ${EXTRACT_CMD} foiltex.ins && \
X		${EXTRACT_CMD} foiltex.dtx && \
X		${EXTRACT_CMD} foiltex.dtx && \
X		${EXTRACT_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# install example file
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	@${CAT} ${PKGMESSAGE} | ${SED} -e "s,%%PREFIX%%,${PREFIX},g"
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'
Xshare/doc/foiltex/foiltex.dtx
Xshare/doc/foiltex/foiltex.dvi
Xshare/examples/foiltex/sampfoil.tex
Xshare/texmf/tex/latex/foiltex/foil17.clo
Xshare/texmf/tex/latex/foiltex/foil20.clo
Xshare/texmf/tex/latex/foiltex/foil25.clo
Xshare/texmf/tex/latex/foiltex/foil30.clo
Xshare/texmf/tex/latex/foiltex/foils.cls
Xshare/texmf/tex/latex/foiltex/foils.sty
Xshare/texmf/tex/latex/foiltex/foilshrt.clo
Xshare/texmf/tex/latex/foiltex/fltfonts.def
X at dirrm share/doc/foiltex
X at dirrm share/examples/foiltex
X at dirrm share/texmf/tex/latex/foiltex
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/pkg-message
sed 's/^X//' >foiltex/pkg-message << 'END-of-foiltex/pkg-message'
X*********************************************
XStyle files have been installed to
X%%PREFIX%%/share/texmf/tex/latex/foiltex.
XYou will probably need to update the content
Xcache (e.g. by running 'mktexlsr') before you
Xcan use these files.
X*********************************************
END-of-foiltex/pkg-message
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 shar file ---



More information about the freebsd-ports-bugs mailing list