aboutsummaryrefslogtreecommitdiffstats
path: root/converters/bibtexconv/Makefile
blob: acef489d5570aa0279aefe2350a8ca8d8db7fc12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# 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>