1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/textproc/bibtool/Makefile
Dirk Meyer de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00

47 lines
1.0 KiB
Makefile

# New ports collection makefile for: bibtool
# Date created: Oct 10, 2005
# Whom: Rong-En Fan <rafan@infor.org>
#
# $FreeBSD$
#
PORTNAME= bibtool
PORTVERSION= 2.48
PORTREVISION= 4
CATEGORIES= textproc print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= biblio/bibtex/utils/${PORTNAME}
DISTNAME= BibTool-${PORTVERSION}
MAINTAINER= rafan@FreeBSD.org
COMMENT= Command line manipulation of BibTeX files
BUILD_DEPENDS= ${LOCALBASE}/include/kpathsea/tex-file.h:${PORTSDIR}/print/teTeX-base
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-kpathsea
CONFIGURE_ENV= LOCALBASE=${LOCALBASE}
MAKEFILE= makefile
INSTALL_TARGET= install install.man
MAN1= bibtool.1
TXT_DOCS= Doc/bibtool.dvi Doc/ref_card.dvi Doc/c_lib.dvi
.if !defined(NOPORTDOCS)
PORTDOCS= ${TXT_DOCS:S/^Doc\///}
.endif
.include <bsd.port.pre.mk>
post-install:
.if !defined(NOPORTDOCS)
cd ${WRKSRC} && ${MAKE} doc && ${MAKE} doc
${MKDIR} ${DOCSDIR}
for f in ${TXT_DOCS}; do \
${INSTALL_MAN} ${WRKSRC}/$$f ${DOCSDIR}; \
done
.endif
.include <bsd.port.post.mk>