1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/converters/bibtexconv/Makefile

43 lines
1.0 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: bibtexconv
# Date created: 2012-06-07
# Whom: Thomas Dreibholz <dreibh@iem.uni-due.de>
#
# $FreeBSD$
#
PORTNAME= bibtexconv
PORTVERSION= 0.8.20
CATEGORIES= converters
MASTER_SITES= http://www.iem.uni-due.de/~dreibh/bibtexconv/download/ \
http://www.exp-math.uni-essen.de/~dreibh/bibtexconv/download/
MAINTAINER= dreibh@iem.uni-due.de
COMMENT= BibTeX Converter
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
GNU_CONFIGURE= yes
USE_GMAKE= yes
PLIST_FILES= bin/bibtexconv bin/bibtexconv-odt
PORTEXAMPLES= ExampleReferences.bib ODT-Template.odt odt-example.export \
web-example.export text-example.export
MAN1= bibtexconv.1 bibtexconv-odt.1
pre-configure:
@${REINPLACE_CMD} -e 's|install-data-am: install-dist_examplesDATA|install-data-am:|' \
${WRKSRC}/src/Makefile.in
post-install:
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/src/${f} ${EXAMPLESDIR}
.endfor
.endif
.include <bsd.port.mk>