diff options
Diffstat (limited to 'print/latex-beamer/Makefile')
-rw-r--r-- | print/latex-beamer/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/print/latex-beamer/Makefile b/print/latex-beamer/Makefile new file mode 100644 index 000000000000..2c04ad86e0c8 --- /dev/null +++ b/print/latex-beamer/Makefile @@ -0,0 +1,40 @@ +# $FreeBSD$ + +PORTNAME= latex-beamer +PORTVERSION= 3.36 +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 + +RUN_DEPENDS= ${LOCALBASE}/${TEXMFDISTDIR}/tex/latex/pgf/basiclayer/pgf.sty:${PORTSDIR}/print/latex-pgf + +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> |