ports/61893: New port: print/latex-caption
Hiroki Sato
hrs at FreeBSD.org
Sun Jan 25 18:01:01 UTC 2004
>Number: 61893
>Category: ports
>Synopsis: New port: print/latex-caption
>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:
The caption package provides many ways to customise the captions
in floating environments such figure and table and cooperates with
many other packages.
>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-caption
# latex-caption/pkg-plist
# latex-caption/pkg-descr
# latex-caption/Makefile
# latex-caption/distinfo
#
echo c - latex-caption
mkdir -p latex-caption > /dev/null 2>&1
echo x - latex-caption/pkg-plist
sed 's/^X//' >latex-caption/pkg-plist << 'END-of-latex-caption/pkg-plist'
X at comment $FreeBSD$
X%%PORTDOCS%%%%DOCSDIR%%/manual.tex
X%%PORTDOCS%%%%DOCSDIR%%/caption.xml
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X%%CLASSDIR%%/caption.dtx
X%%CLASSDIR%%/caption.sty
X%%CLASSDIR%%/caption.ins
X%%CLASSDIR%%/caption2.dtx
X%%CLASSDIR%%/caption2.sty
X at dirrm %%CLASSDIR%%
X at exec %%MKTEXLSR%%
X at unexec %%MKTEXLSR%%
END-of-latex-caption/pkg-plist
echo x - latex-caption/pkg-descr
sed 's/^X//' >latex-caption/pkg-descr << 'END-of-latex-caption/pkg-descr'
XThe caption package provides many ways to customise the captions
Xin floating environments such figure and table and cooperates with
Xmany other packages.
END-of-latex-caption/pkg-descr
echo x - latex-caption/Makefile
sed 's/^X//' >latex-caption/Makefile << 'END-of-latex-caption/Makefile'
X# New ports collection makefile for: latex-caption
X# Date created: 24 Jan 2004
X# Whom: hrs at FreeBSD.org
X#
X# $FreeBSD$
X
XPORTNAME= latex-caption
XPORTVERSION= 3.0.20031220
XCATEGORIES= print
XMASTER_SITES= ${MASTER_SITE_TEX_CTAN}
XMASTER_SITE_SUBDIR= macros/latex/contrib/caption
XDISTFILES= caption.dtx caption2.dtx caption.ins caption.xml
XDIST_SUBDIR= ${PORTNAME}
X
XMAINTAINER= hrs at FreeBSD.org
XCOMMENT= A LaTeX package that supports customization of captions
X
XBUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX
XBUILD_DEPENDS+= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
XBUILD_DEPENDS+= tex:${PORTSDIR}/print/teTeX
XRUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
X
XPLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR}
XPLIST_SUB+= CLASSDIR=${CLASSDIR}
X
XUSE_GMAKE= YES
XTEXMFLOCAL= share/texmf-local
XTEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
XMKTEXLSR= ${LOCALBASE}/bin/mktexlsr
XTEX_BIN= ${LOCALBASE}/bin/tex
XYES_CMD= /usr/bin/yes
XCLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
XWRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//}
X
XCLASS_FILES= caption.dtx
XCLASS_FILES+= caption.sty
XCLASS_FILES+= caption.ins
XCLASS_FILES+= caption2.dtx
XCLASS_FILES+= caption2.sty
X
XDOC_FILES= manual.tex
XDOC_FILES+= caption.xml
X
Xdo-extract:
X ${MKDIR} ${WRKSRC}
X cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}
X
Xdo-build:
X cd ${WRKSRC} && ${YES_CMD} | ${TEX_BIN} caption.ins
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-caption/Makefile
echo x - latex-caption/distinfo
sed 's/^X//' >latex-caption/distinfo << 'END-of-latex-caption/distinfo'
XMD5 (latex-caption/caption.dtx) = 58c953c4e24ecdacd50ea00f2a9f3274
XMD5 (latex-caption/caption2.dtx) = 241f88a1e1bfb67d9e93e33d4e6cf9d6
XMD5 (latex-caption/caption.ins) = 3617343d79edda46233594958344d184
XMD5 (latex-caption/caption.xml) = 6b4d7d970a2ed6f24c081cef7fb86e77
END-of-latex-caption/distinfo
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list