mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
eb2997f8a7
( cd /wrkdirs/usr/ports/print/latex-aa/work/aa-package && /bin/sh -c '(/usr/bin/find -d $0 $2 | /usr/bin/cpio -dumpl $1 >/dev/null 2>&1) && /usr/sbin/chown -Rh root:wheel $1 && /usr/bin/find -d $0 $2 -type d -exec chmod 755 $1/{} \; && /usr/bin/find -d $0 $2 -type f -exec chmod 444 $1/{} \;' -- "aa.dem aa.dvi aa.pdf aadoc.pdf readme.html readme.txt" /usr/local/share/texmf/doc/latex/aa ) /usr/local/share/texmf make: exec(/usr/local/share/texmf) failed (Permission denied) *** Error code 1 Reported by: pkg-fallout since august 2013 With hat: portmgr
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# 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>
|