mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
b977a2fc92
Society (AAS) journals AASTeX is a LaTeX-based package that can be used to mark up manuscripts for American Astronomical Society (AAS) journals. AASTeX enables you to prepare manuscripts and tables for electronic submission to The Astronomical Journal (AJ) and The Astrophysical Journal (ApJ). WWW: http://authors.iop.org/atom/help.nsf/LookupJournalSpecific/WebLatexGuidelines~AJ PR: ports/123653 Submitted by: Koji Yokota <yokota@res.otaru-uc.ac.jp>
56 lines
1.4 KiB
Makefile
56 lines
1.4 KiB
Makefile
# New ports collection makefile for: print/latex-aastex
|
|
# Date created: 14 November 2007
|
|
# Whom: Koji Yokota (yokota@res.otaru-uc.ac.jp)
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= latex-aastex
|
|
PORTVERSION= 5.2
|
|
CATEGORIES= print astro science
|
|
MASTER_SITES= ftp://ftp.iop.org/pub/journals/
|
|
DISTNAME= aastex${PORTVERSION:S/.//}
|
|
DIST_SUBDIR= latex
|
|
|
|
MAINTAINER= yokota@res.otaru-uc.ac.jp
|
|
COMMENT= LaTeX class for American Astronomical Society (AAS) journals
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/share/texmf:${PORTSDIR}/print/teTeX-texmf \
|
|
dvips:${PORTSDIR}/print/dvipsk-tetex
|
|
|
|
USE_GHOSTSCRIPT=yes
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
|
|
TEXMFDIR= share/texmf
|
|
CLSDIR= tex/latex/aastex
|
|
DOCSDIR= doc/latex/aastex
|
|
CLSFILES= aastex.cls
|
|
DVIDOCS= sample.dvi table.dvi
|
|
PSDOCS= aasguide.ps aassymbols.ps
|
|
TXTDOCS= README
|
|
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
|
|
|
|
pre-install:
|
|
.for _DVIDOC in ${DVIDOCS}
|
|
( cd ${WRKSRC}/${DISTNAME} && \
|
|
dvips ${_DVIDOC} && ps2pdf ${_DVIDOC:S/.dvi/.ps/} )
|
|
.endfor
|
|
.for _PSDOC in ${PSDOCS}
|
|
( cd ${WRKSRC}/${DISTNAME} && \
|
|
ps2pdf ${_PSDOC} )
|
|
.endfor
|
|
|
|
do-install:
|
|
( cd ${WRKSRC}/${DISTNAME} && \
|
|
${COPYTREE_SHARE} "${CLSFILES}" ${PREFIX}/${TEXMFDIR}/${CLSDIR} )
|
|
.if !defined(NOPORTDOCS)
|
|
( cd ${WRKSRC}/${DISTNAME} && \
|
|
${COPYTREE_SHARE} "${DVIDOCS} ${DVIDOCS:S/.dvi/.pdf/} ${PSDOCS:S/.ps/.dvi/} ${PSDOCS:S/.ps/.pdf/} ${TXTDOCS}" ${PREFIX}/${TEXMFDIR}/${DOCSDIR} )
|
|
.endif
|
|
|
|
post-install:
|
|
${MKTEXLSR} ${PREFIX}/${TEXMFDIR}
|
|
|
|
.include <bsd.port.mk>
|