diff options
author | erwin <erwin@FreeBSD.org> | 2012-06-07 19:03:38 +0800 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2012-06-07 19:03:38 +0800 |
commit | 26b0a2f53f37fe48af6641ee3b11f6a7925121af (patch) | |
tree | cd17fae349e5442c7dd2fbf56325f25e0f90437a /cad | |
parent | feab83045affb7dd6190acfee95b915a4929533d (diff) | |
download | freebsd-ports-gnome-26b0a2f53f37fe48af6641ee3b11f6a7925121af.tar.gz freebsd-ports-gnome-26b0a2f53f37fe48af6641ee3b11f6a7925121af.tar.zst freebsd-ports-gnome-26b0a2f53f37fe48af6641ee3b11f6a7925121af.zip |
There was a problem that made "make extract" download an already
downloaded distribution file.
PR: 168759
Submitted by: Fernando <fernando.apesteguia@gmail.com> (maintainer)
Diffstat (limited to 'cad')
-rw-r--r-- | cad/openvsp/Makefile | 7 | ||||
-rw-r--r-- | cad/openvsp/distinfo | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/cad/openvsp/Makefile b/cad/openvsp/Makefile index 8ea41ffe9bf9..bfe92107c69e 100644 --- a/cad/openvsp/Makefile +++ b/cad/openvsp/Makefile @@ -8,8 +8,7 @@ PORTNAME= openvsp PORTVERSION= 2.0 PORTREVISION= 1 CATEGORIES= cad -MASTER_SITES= https://nodeload.github.com/OpenVSP/OpenVSP/tarball/ -DISTNAME= OpenVSP_${PORTVERSION}_Community +MASTER_SITES= https://nodeload.github.com/OpenVSP/OpenVSP/tarball/OpenVSP_${PORTVERSION}_Community MAINTAINER= fernando.apesteguia@gmail.com COMMENT= Create a 3D model of an aircraft defined by engineering parameters @@ -35,7 +34,9 @@ PLIST_FILES= bin/vsp CFLAGS+= -I${LOCALBASE}/include/openNURBS do-fetch: - ${FETCH_BINARY} -o ${DISTDIR}/${DISTNAME}.tar.gz ${MASTER_SITES}${DISTNAME} + if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \ + ${FETCH_BINARY} -o ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${MASTER_SITES}; \ + fi do-install: @${INSTALL_PROGRAM} ${WRKSRC}/vsp/vsp ${PREFIX}/bin diff --git a/cad/openvsp/distinfo b/cad/openvsp/distinfo index 28a2efe73be9..13d4c9d31dec 100644 --- a/cad/openvsp/distinfo +++ b/cad/openvsp/distinfo @@ -1,2 +1,2 @@ -SHA256 (OpenVSP_2.0_Community.tar.gz) = 7086327a60d5952ef3e5780e99d4313f2a10a7f713b35470e104e07fccb6e856 -SIZE (OpenVSP_2.0_Community.tar.gz) = 2876175 +SHA256 (openvsp-2.0.tar.gz) = 7086327a60d5952ef3e5780e99d4313f2a10a7f713b35470e104e07fccb6e856 +SIZE (openvsp-2.0.tar.gz) = 2876175 |