mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
f05f28e29f
Pointy hat to: hrs
40 lines
967 B
Makefile
40 lines
967 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= latex-beamer
|
|
PORTVERSION= 3.36
|
|
PORTREVISION= 1
|
|
CATEGORIES= print
|
|
MASTER_SITES= https://bitbucket.org/rivanvx/beamer/get/
|
|
DISTNAME= version-${PORTVERSION:S/./-/}
|
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
|
COMMENT= LaTeX class to create a beamer presentation
|
|
|
|
USES= tar:bz2
|
|
USE_TEX= texmf latex texhash
|
|
TEXHASHDIRS= ${TEXMFDIR}
|
|
NO_BUILD= YES
|
|
WRKSRC= ${WRKDIR}/rivanvx-beamer-368aa9ba9d38
|
|
PORTDOCS= *
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
CLASSDIR= ${TEXMFDIR}/tex/latex/${PORTNAME:S/^latex-//}
|
|
CLASS_SUBDIRS= base examples
|
|
DOC_SUBDIRS= AUTHORS ChangeLog FILES INSTALL README TODO doc solutions
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/${CLASSDIR}
|
|
cd ${WRKSRC} && for d in ${CLASS_SUBDIRS}; do \
|
|
${PAX} -rw $$d ${STAGEDIR}${PREFIX}/${CLASSDIR}; \
|
|
done
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && for d in ${DOC_SUBDIRS}; do \
|
|
${PAX} -rw $$d ${STAGEDIR}${DOCSDIR}; \
|
|
done
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|