1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/print/latex-beamer/Makefile
Hiroki Sato 810c4f5f9d Resurrect print/latex-pgf and print/latex-beamer and update
them to 1.01 and 3.06 respectively.

Changes since latex-beamer 3.01 (included in teTeX) include:

 - Fixed bug in drawing of buttons.
 - Version for use with pgf version 1.00.
 - Added color theme wolverine and presentation theme AnnArbor,
   submitted by Madhusudan Singh <madhusudan.singh@gmail.com>.
 - Added two screen options.
 - Added subsubsections (evil!).
 - Added \begin{frame}{Title}{Subtitle} syntax.
 - Switched to pgf version 0.95
 - \setbeamercovered is now scoped.
 - Fixed location of navigation symbols on plain frames.
 - Fixed wrong frame number in conjunction with fragile option.
 - Fixed compatibility definitions like \beamertemplateballtoc.
 - Fixed compatibility definitions for \beamersetleftmargin.
 - Fixed wobbling height of frametitle in default theme.
 - Fixed problem with serif theme and "onlymath" option.
 - Fixed problem with >127 characters and fragile option.
 - Fixed problem with activation of Chinese characters
 - Fixed problem with spaces in semiverbatim.
2007-01-04 21:48:19 +00:00

69 lines
2.0 KiB
Makefile

# New ports collection makefile for: latex-beamer
# Date created: 24 Jan 2004
# Whom: hrs@FreeBSD.org
#
# $FreeBSD$
PORTNAME= latex-beamer
PORTVERSION= 3.06
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX class to create a beamer presentation
BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
${TEXMFDIR_LSR}:${PORTSDIR}/print/tex-texmflocal
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
${LOCALBASE}/${TEXMFDIR}/tex/latex/pgf/basiclayer/pgf.sty:${PORTSDIR}/print/latex-pgf \
${TEXMFDIR_LSR}:${PORTSDIR}/print/tex-texmflocal
NO_BUILD= YES
PLIST= ${WRKDIR}/pkg-plist
TEXMFDIR= share/texmf
TEXMFDIR_LSR= ${LOCALBASE}/${TEXMFDIR}/ls-R
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
CLASSDIR= ${TEXMFDIR}/tex/latex/${PORTNAME:S/^latex-//}
CLASS_SUBDIRS= base emulation emacs examples extensions lyx themes
DOC_SUBDIRS= AUTHORS ChangeLog FILES INSTALL README TODO \
doc solutions
pre-install:
${RM} -f ${PLIST}
${TOUCH} ${PLIST}
cd ${WRKSRC} && ( \
${FIND} ${CLASS_SUBDIRS} -type f | \
${SED} -e "s%^%${CLASSDIR:S,^${PREFIX}/,,}/%"; \
${FIND} ${CLASS_SUBDIRS} -type d | \
${SORT} -r | ${SED} -e "s,^,@dirrm ${CLASSDIR:S,^${PREFIX}/,,}/,"; \
) >> ${PLIST}
.if !defined(NOPORTDOCS)
cd ${WRKSRC} && ( \
${FIND} ${DOC_SUBDIRS} -type f | \
${SED} -e "s%^%${DOCSDIR:S,^${PREFIX}/,,}/%"; \
${FIND} ${DOC_SUBDIRS} -type d | \
${SORT} -r | ${SED} -e "s%^%@dirrm ${DOCSDIR:S,^${PREFIX}/,,}/%"; \
${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}"; \
) >> ${PLIST}
.endif
${ECHO_CMD} "@unexec ${MKTEXLSR} ${PREFIX}/${TEXMFDIR}" >> ${PLIST}
${ECHO_CMD} "@exec ${MKTEXLSR} ${PREFIX}/${TEXMFDIR}" >> ${PLIST}
do-install:
${MKDIR} ${PREFIX}/${CLASSDIR}
( cd ${WRKSRC} && ${TAR} cf - ${CLASS_SUBDIRS} ) | \
( cd ${PREFIX}/${CLASSDIR} && ${TAR} xf - )
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
( cd ${WRKSRC} && ${TAR} cf - ${DOC_SUBDIRS} ) | \
( cd ${DOCSDIR} && ${TAR} xf - )
.endif
post-install:
${MKTEXLSR} ${PREFIX}/${TEXMFDIR}
.include <bsd.port.mk>