blob: 4d05ee4ad50926b5b39ea0cd2456a9cfd4ad1ee5 (
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
42
43
44
45
46
47
48
49
|
# Created by: Henrik Brix Andersen <henrik@brixandersen.dk>
# $FreeBSD$
PORTNAME= svninfo
PORTVERSION= 0.7.4
PORTREVISION= 5
CATEGORIES= print
MASTER_SITES= http://www.brucker.ch/projects/svninfo/download/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= brix
PKGNAMEPREFIX= latex-
MAINTAINER= brix@FreeBSD.org
COMMENT= A LaTeX package for Subversion support
LICENSE= LPPL10
USE_TEX= latex
PLIST_SUB= MKTEXLSR=${MKTEXLSR} CLASSDIR=${CLASSDIR}
TEXMFLOCAL= share/texmf-local
TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
TEX_BIN= ${LOCALBASE}/bin/latex
CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME}
CLASS_FILES= svninfo.sty svninfo.cfg
PORTDOCS= README svninfo.dvi
.include <bsd.port.pre.mk>
do-build:
cd ${WRKSRC} && ${TEX_BIN} svninfo.ins
.if ${PORT_OPTIONS:MDOCS}
cd ${WRKSRC} && ${TEX_BIN} svninfo.dtx
.endif
do-install:
${MKDIR} ${STAGEDIR}/${PREFIX}/${CLASSDIR}
${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${STAGEDIR}/${PREFIX}/${CLASSDIR}
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}/${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/@} ${STAGEDIR}/${DOCSDIR}
.endif
post-install:
${MKTEXLSR}
.include <bsd.port.post.mk>
|