aboutsummaryrefslogtreecommitdiffstats
path: root/math/units/Makefile
blob: db29176a8b1b5409d6e6be8a0f59fc06dad70d7b (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.11
CATEGORIES= math
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}

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

LICENSE=    GPLv3

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>