summaryrefslogtreecommitdiff
path: root/textproc/bibutils/Makefile
blob: 2ebe1c9a1de07568f0b9c7a803cf8c5792930ece (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
# $FreeBSD$

PORTNAME=	bibutils
PORTVERSION=	5.0
CATEGORIES=	textproc
MASTER_SITES=	SF/${PORTNAME}/

DISTNAME=	${PORTNAME}_${PORTVERSION}_src
EXTRACT_SUFX=	.tgz

MAINTAINER=	pgj@FreeBSD.org
COMMENT=	Program set interconverts between various bibliography formats

LICENSE=	GPLv2

USE_GMAKE=	yes

WRKSRC=		${WRKDIR}/${PORTNAME}_${PORTVERSION}

do-configure:
	@cd ${WRKSRC} && ./configure --install-dir ${PREFIX}/bin

test: all
	cd ${WRKSRC}/test && ${GMAKE} all test

BINARIES=	bib2xml biblatex2xml copac2xml ebi2xml end2xml endx2xml \
		isi2xml med2xml modsclean ris2xml wordbib2xml xml2ads \
		xml2bib xml2end xml2isi xml2ris xml2wordbib

.for binary in ${BINARIES}
PLIST_FILES+=	bin/${binary}
.endfor

.include <bsd.port.mk>