2004-08-29 19:35:23 +02:00
|
|
|
# New ports collection makefile for: convertall
|
|
|
|
# Date created: 2004-08-12
|
|
|
|
# Whom: Michael Johnson <ahze@ahze.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= convertall
|
2005-07-27 15:38:30 +02:00
|
|
|
PORTVERSION= 0.3.1
|
2004-08-29 19:35:23 +02:00
|
|
|
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
|
2005-09-08 17:41:35 +02:00
|
|
|
USE_PYTHON= 2.4+
|
2004-08-29 19:35:23 +02:00
|
|
|
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>
|