aboutsummaryrefslogtreecommitdiffstats
path: root/science/bodr/Makefile
blob: 06a36717857be44f578f71af12cb5c7750fd1058 (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
# Created by: Pav Lucistnik <pav@FreeBSD.org>
# $FreeBSD$

PORTNAME=   bodr
PORTVERSION=    10
CATEGORIES= science
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    Chemistry data like element and isotope properties, atomic radii, etc

LICENSE=    CC0-1.0
LICENSE_FILE=   ${WRKSRC}/COPYING

BUILD_DEPENDS=  xsltproc:textproc/libxslt

USES=       gmake perl5 tar:bzip2
USE_PERL5=  build
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  PERL="${PERL}"
NO_ARCH=    yes

OPTIONS_DEFINE= DOCS

post-patch:
    @${REINPLACE_CMD} -e \
        '/pkgconfig/s|{datadir}|{prefix}/libdata|' ${WRKSRC}/Makefile.in

.include <bsd.port.mk>