aboutsummaryrefslogtreecommitdiffstats
path: root/math/units/Makefile
blob: 9e30ae9ba7d3904e8b7da0837aac66259fa6cbbc (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
# Created by: Jason Harris <jharris@widomaker.com>
# $FreeBSD$

PORTNAME=   units
PORTVERSION=    2.13
CATEGORIES= math
MASTER_SITES=   GNU

MAINTAINER= jharris@widomaker.com
COMMENT=    Unit conversion and calculation

LICENSE=    GPLv3+
LICENSE_FILE=   ${WRKSRC}/COPYING

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --program-prefix=g

INFO=       units

post-patch:
    @${REINPLACE_CMD} -e \
     's|$$(INSTALL_PROGRAM) units_cur|${INSTALL_SCRIPT} units_cur|' \
    ${WRKSRC}/Makefile.in

.include <bsd.port.mk>