blob: 679c21a9917f83d4d07d7eee65dba1a6a98952be (
plain)
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
42
43
|
PORTNAME= latex-beamer
PORTVERSION= 3.57
DISTVERSIONPREFIX= v
CATEGORIES= print
MAINTAINER= hrs@FreeBSD.org
COMMENT= LaTeX class to create a beamer presentation
LICENSE= GPLv2 LPPL13c
LICENSE_COMB= dual
USE_TEX= texmf latex texhash texlua
USE_GITHUB= yes
GH_ACCOUNT= josephwright
GH_PROJECT= beamer
TEXHASHDIRS= ${TEXMFDIR}
NO_BUILD= YES
NO_ARCH= YES
PORTDOCS= *
OPTIONS_DEFINE= DOCS
CLASSDIR= ${TEXMFDIR}/tex/latex/${PORTNAME:S/^latex-//}
CLASS_SUBDIRS= base examples
DOC_SUBDIRS= AUTHORS.md CHANGELOG.md README.md doc solutions
.include <bsd.port.options.mk>
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${CLASSDIR}
${MV} ${WRKSRC}/doc/examples ${WRKSRC}/examples
${MV} ${WRKSRC}/doc/solutions ${WRKSRC}/solutions
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>
|