blob: a15cebaf1c323246f077f4119c110b3f26d49b78 (
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
|
# Created by: Koji Yokota (yokota@res.otaru-uc.ac.jp)
# $FreeBSD$
PORTNAME= latex-aa
PORTVERSION= 6.1
PORTREVISION= 3
CATEGORIES= print astro science
MASTER_SITES= ftp://ftp.edpsciences.org/pub/aa/
DISTNAME= aa-package
DIST_SUBDIR= latex
MAINTAINER= yokota@res.otaru-uc.ac.jp
COMMENT= LaTeX class for submission to "Astronomy and Astrophysics"
BROKEN= Does not install
NO_BUILD= yes
NO_WRKSUBDIR= yes
USE_GHOSTSCRIPT_BUILD= yes
USE_TEX= latex dvipsk texhash
TEXHASHDIRS= ${TEXMFDIR}
AADIR= tex/latex/aa
AABIBDIR= bibtex/bst/aa
AADOCSDIR= doc/latex/aa
DOCFILES= aa.dem aa.dvi aa.pdf aadoc.pdf readme.html readme.txt
NO_STAGE= yes
pre-install:
( cd ${WRKSRC}/${DISTNAME} && \
latex aa.dem && latex aa.dem && dvips aa.dvi && ps2pdf aa.ps )
do-install:
( cd ${WRKSRC}/${DISTNAME} && \
${COPYTREE_SHARE} "aa.cls" ${PREFIX}/${TEXMFDIR}/${AADIR} )
( cd ${WRKSRC}/${DISTNAME}/bibtex/ && \
${COPYTREE_SHARE} "aa.bst" ${PREFIX}/${TEXMFDIR}/${AABIBDIR} )
.if !defined(NOPORTDOCS)
( cd ${WRKSRC}/${DISTNAME} && \
${COPYTREE_SHARE} "${DOCFILES}" ${PREFIX}/${TEXMFDIR}/${AADOCSDIR} )
.endif
post-install:
${MKTEXLSR} ${PREFIX}/${TEXMFDIR}
.include <bsd.port.mk>
|