mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# 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
|
|
PORTVERSION= 0.8.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= print
|
|
MASTER_SITES= http://mirror.isp.net.au/ftp/pub/freebsd/distfiles/ \
|
|
http://download.codigolivre.org.br/abntex/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Both classes and styles for both LaTex and bibtex for ABNT rules
|
|
|
|
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
|
|
|
|
NO_BUILD= yes
|
|
|
|
do-install:
|
|
# install files
|
|
${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
|
|
# inform tex about installation
|
|
@${LOCALBASE}/bin/texhash
|
|
|
|
.include <bsd.port.mk>
|