ports/61894: New port: print/latex-subfig

Hiroki Sato hrs at FreeBSD.org
Sun Jan 25 18:01:05 UTC 2004


>Number:         61894
>Category:       ports
>Synopsis:       New port: print/latex-subfig
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 25 10:00:08 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hiroki Sato
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Tokyo University of Science
>Environment:
System: FreeBSD alph.allbsd.org 4.8-STABLE FreeBSD 4.8-STABLE #7: Tue May 20 00:05:43 JST 2003     hrs at alph.allbsd.org:/home/obj/home/src/sys/ALPH  i386

>Description:
	This is a LaTeX package that supports the inclusion of small "sub" figures
	and tables. It simplifies the positioning, captioning and labeling of them
	within a single figure or table environment. 

>How-To-Repeat:
	N/A

>Fix:

# 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:
#
#	latex-subfig
#	latex-subfig/pkg-plist
#	latex-subfig/pkg-descr
#	latex-subfig/Makefile
#	latex-subfig/distinfo
#
echo c - latex-subfig
mkdir -p latex-subfig > /dev/null 2>&1
echo x - latex-subfig/pkg-plist
sed 's/^X//' >latex-subfig/pkg-plist << 'END-of-latex-subfig/pkg-plist'
X at comment $FreeBSD$
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/test1.tex
X%%PORTDOCS%%%%DOCSDIR%%/test2.tex
X%%PORTDOCS%%%%DOCSDIR%%/test3.tex
X%%PORTDOCS%%%%DOCSDIR%%/test4.tex
X%%PORTDOCS%%%%DOCSDIR%%/test5.tex
X%%PORTDOCS%%%%DOCSDIR%%/test6.tex
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X%%CLASSDIR%%/subfig.dtx
X%%CLASSDIR%%/subfig.ins
X%%CLASSDIR%%/subfig.sty
X%%CLASSDIR%%/subfig.cfg
X at dirrm %%CLASSDIR%%
X at exec %%MKTEXLSR%%
X at unexec %%MKTEXLSR%%
END-of-latex-subfig/pkg-plist
echo x - latex-subfig/pkg-descr
sed 's/^X//' >latex-subfig/pkg-descr << 'END-of-latex-subfig/pkg-descr'
XSubfig Style:
X
XThis is a LaTeX package that supports the inclusion of small "sub" figures
Xand tables. It simplifies the positioning, captioning and labeling of them
Xwithin a single figure or table environment. 
X
XThe subfig package replaces the older subfigure package, but is not
Xcompletely backward compatible with it.  Therefore the name has changed to
Xinsure that the older package will remain around awhile, however the use of
Xthe older subfigure package is discouraged.
X
XWWW: http://www-2.cs.cmu.edu/afs/cs/usr/sdc/www/latex/subfigure.html
END-of-latex-subfig/pkg-descr
echo x - latex-subfig/Makefile
sed 's/^X//' >latex-subfig/Makefile << 'END-of-latex-subfig/Makefile'
X# New ports collection makefile for:	latex-subfig
X# Date created:		24 Jan 2004
X# Whom:			hrs at FreeBSD.org
X#
X# $FreeBSD$
X
XPORTNAME=	latex-subfig
XPORTVERSION=	1.1.20040112
XCATEGORIES=	print
XMASTER_SITES=	http://www-2.cs.cmu.edu/afs/cs/usr/sdc/www/latex/
XDISTNAME=	subfig.11
X
XMAINTAINER=	hrs at FreeBSD.org
XCOMMENT=	A LaTeX package that supports small "sub" figures/tables
X
XBUILD_DEPENDS=	mktexlsr:${PORTSDIR}/print/teTeX
XBUILD_DEPENDS+=	${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
XBUILD_DEPENDS+=	${STY_CAPTION}:${PORTSDIR}/print/latex-caption
XRUN_DEPENDS=	latex:${PORTSDIR}/print/teTeX
X
XPLIST_SUB=	TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR}
XPLIST_SUB+=	CLASSDIR=${CLASSDIR}
X
XUSE_GMAKE=	YES
XALL_TARGET=	sty
XTEXMFLOCAL=	share/texmf-local
XTEXMFLOCAL_LSR=	${LOCALBASE}/${TEXMFLOCAL}/ls-R
XSTY_CAPTION=	${LOCALBASE}/${TEXMFLOCAL}/tex/latex/caption/caption.sty
XMKTEXLSR=	${LOCALBASE}/bin/mktexlsr
XCLASSDIR=	${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
XWRKSRC=		${WRKDIR}/${PORTNAME:S/^latex-//}
X
XCLASS_FILES=	subfig.dtx
XCLASS_FILES+=	subfig.ins
XCLASS_FILES+=	subfig.sty
XCLASS_FILES+=	subfig.cfg
X
XDOC_FILES=	README
XDOC_FILES+=	test1.tex
XDOC_FILES+=	test2.tex
XDOC_FILES+=	test3.tex
XDOC_FILES+=	test4.tex
XDOC_FILES+=	test5.tex
XDOC_FILES+=	test6.tex
X
Xdo-install:
X	${MKDIR} ${PREFIX}/${CLASSDIR}
X	${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR}
X.endif
X
Xpost-install:
X	@${MKTEXLSR}
X
X.include <bsd.port.mk>
END-of-latex-subfig/Makefile
echo x - latex-subfig/distinfo
sed 's/^X//' >latex-subfig/distinfo << 'END-of-latex-subfig/distinfo'
XMD5 (subfig.11.tar.gz) = e8c20d10936fd6bf194d11f29c028ea1
END-of-latex-subfig/distinfo
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list