1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/print/latex-beamer/Makefile
Hiroki Sato f05f28e29f Remove an extra dependency.
Pointy hat to:	hrs
2015-07-16 06:33:44 +00:00

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>