2002-09-19 20:48:53 +02:00
|
|
|
# New ports collection makefile for: abntex
|
|
|
|
# Date created: Tue Sep 17 22:08:35 BRT 2002
|
|
|
|
# Whom: Hammurabi Mendes <hmendes@brturbo.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= abntex
|
2005-03-13 10:38:09 +01:00
|
|
|
PORTVERSION= 0.8.2
|
2002-09-19 20:48:53 +02:00
|
|
|
CATEGORIES= print
|
|
|
|
MASTER_SITES= http://download.codigolivre.org.br/abntex/
|
2005-03-13 10:38:09 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
|
2002-09-19 20:48:53 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2005-01-09 05:36:21 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 14:28:59 +01:00
|
|
|
COMMENT= Both classes and styles for both LaTex and bibtex for ABNT rules
|
2002-09-19 20:48:53 +02:00
|
|
|
|
2005-03-13 10:38:09 +01:00
|
|
|
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
|
2002-09-19 20:48:53 +02:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
# install files
|
2005-03-13 10:38:09 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/geratss ${PREFIX}/bin
|
|
|
|
.for dir in bibtex/bib bibtex/bst doc/bibtex doc/latex makeindex tex/latex
|
|
|
|
@${MKDIR} ${PREFIX}/share/texmf/${dir}
|
|
|
|
${TAR} -C ${WRKSRC}/texmf/${dir} --exclude ".*" --exclude "*~" \
|
|
|
|
-cf - abntex | ${TAR} -C ${PREFIX}/share/texmf/${dir} -xf -
|
|
|
|
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/texmf/${dir}
|
|
|
|
.endfor
|
2002-09-19 20:48:53 +02:00
|
|
|
# inform tex about installation
|
|
|
|
@${LOCALBASE}/bin/texhash
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|