aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2012-11-10 06:49:15 +0800
committerpawel <pawel@FreeBSD.org>2012-11-10 06:49:15 +0800
commitc81d4c25b76fd70efb3ba10b2d5818c63f5182c2 (patch)
treed95be78d2354332ad86fdd30f3276fd0e49879be
parent0eb70ffc7b238519956310beadf709e256287ad3 (diff)
downloadfreebsd-ports-gnome-c81d4c25b76fd70efb3ba10b2d5818c63f5182c2.tar.gz
freebsd-ports-gnome-c81d4c25b76fd70efb3ba10b2d5818c63f5182c2.tar.zst
freebsd-ports-gnome-c81d4c25b76fd70efb3ba10b2d5818c63f5182c2.zip
Update to version 0.5.2
PR: ports/172032 Submitted by: KATO Tsuguru <tkato432@yahoo.com> Feature safe: yes
-rw-r--r--math/convertall/Makefile27
-rw-r--r--math/convertall/distinfo8
2 files changed, 17 insertions, 18 deletions
diff --git a/math/convertall/Makefile b/math/convertall/Makefile
index 7994d728e1dd..173684497f2e 100644
--- a/math/convertall/Makefile
+++ b/math/convertall/Makefile
@@ -1,30 +1,29 @@
-# New ports collection makefile for: convertall
-# Date created: 2004-08-12
-# Whom: Michael Johnson <ahze@ahze.net>
-#
+# Created by: Michael Johnson <ahze@ahze.net>
# $FreeBSD$
-#
PORTNAME= convertall
-PORTVERSION= 0.5.1b
-PORTREVISION= 2
+PORTVERSION= 0.5.2
CATEGORIES= math
-MASTER_SITES= BERLIOS
-DISTFILES= ${PORTNAME}-${PORTVERSION:S/b//}${EXTRACT_SUFX} \
- ${PORTNAME}-i18n-${PORTVERSION}${EXTRACT_SUFX}
+MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
+DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
+ ${PORTNAME}-i18n-${PORTVERSION}a${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Another unit converter
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui
+LICENSE= GPLv2 # (or later)
-LICENSE= GPLv2 GPLv3
-LICENSE_COMB= dual
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui
WRKSRC= ${WRKDIR}/ConvertAll
USE_PYTHON= 2.4+
+DESKTOP_ENTRIES="ConvertAll" "${COMMENT}" "${DATADIR}/icons/${PORTNAME}.svg" \
+ "${PORTNAME}" "Utility;Calculator;" true
+
+.include <bsd.port.options.mk>
+
post-patch:
@cd ${WRKSRC}/source && ${REINPLACE_CMD} -e \
"/^dataFilePath/s|None|\'${DATADIR}\'|g ; \
@@ -51,7 +50,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/icons/*.svg ${DATADIR}/icons
@${MKDIR} ${DATADIR}/translations
${INSTALL_DATA} ${WRKSRC}/translations/*.qm ${DATADIR}/translations
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
.endif
diff --git a/math/convertall/distinfo b/math/convertall/distinfo
index 155cc325199e..c6684cabace3 100644
--- a/math/convertall/distinfo
+++ b/math/convertall/distinfo
@@ -1,4 +1,4 @@
-SHA256 (convertall-0.5.1.tar.gz) = 3e474257dfa0fb451ffff5dd70d5f4274984937d6ff090d09326ab5c404f4a2e
-SIZE (convertall-0.5.1.tar.gz) = 60067
-SHA256 (convertall-i18n-0.5.1b.tar.gz) = 16ba35fc35c8acfd1187c85f65330b8e8cee0841cd98ec911c0dd9444dfcf640
-SIZE (convertall-i18n-0.5.1b.tar.gz) = 140977
+SHA256 (convertall-0.5.2.tar.gz) = 668738a06b20c8367f605a94ade400e0ca1d0fc213f34b1df3b634dc13ea824e
+SIZE (convertall-0.5.2.tar.gz) = 60547
+SHA256 (convertall-i18n-0.5.2a.tar.gz) = 71af7167fd4a6ecdaf74a2ff83ceea7d452f6b20000ba3babf665b65c6810c8c
+SIZE (convertall-i18n-0.5.2a.tar.gz) = 141084