aboutsummaryrefslogtreecommitdiffstats
path: root/print/latex-beamer/Makefile
blob: fd926353f1f61925d5d55a7c143d45b0fd779683 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# $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

BROKEN=     unfetchable

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>