aboutsummaryrefslogtreecommitdiffstats
path: root/math/convertall/Makefile
blob: 0d1cbfe3dfb1f98b46b7409e71c44407fe3a3f72 (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
# New ports collection makefile for:    convertall
# Date created:     2004-08-12
# Whom:         Michael Johnson <ahze@ahze.net>
#
# $FreeBSD$
#

PORTNAME=   convertall
PORTVERSION=    0.3.1
CATEGORIES= math
MASTER_SITES=   http://bellz.org/convertall/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Another unit converter

BUILD_DEPENDS=  pyuic:${PORTSDIR}/x11-toolkits/py-qt
RUN_DEPENDS=    pyuic:${PORTSDIR}/x11-toolkits/py-qt

WRKSRC=     ${WRKDIR}/ConvertAll
USE_PYTHON= 2.4+
USE_X_PREFIX=   yes
NO_BUILD=   yes
PORTDOCS=   README.html INSTALL LICENSE

post-patch:
.if defined(NOPORTDOCS)
    @${REINPLACE_CMD} -e 's|doc||' ${WRKSRC}/install.py
.endif

do-install:
    (cd ${WRKSRC};${PYTHON_CMD} ${WRKSRC}/install.py -p ${PREFIX})

.include <bsd.port.mk>