aboutsummaryrefslogtreecommitdiffstats
path: root/cad/openvsp
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2013-02-21 02:07:19 +0800
committerrm <rm@FreeBSD.org>2013-02-21 02:07:19 +0800
commit3427201c6fd7bf0dbaef42bdeda9c7bcc6faca75 (patch)
tree778476ebba6b5dff81ff4cb9f7e3c937a4e3897a /cad/openvsp
parent47ec51f074dd4425b21dd67b6fd3e40d42a74463 (diff)
downloadfreebsd-ports-gnome-3427201c6fd7bf0dbaef42bdeda9c7bcc6faca75.tar.gz
freebsd-ports-gnome-3427201c6fd7bf0dbaef42bdeda9c7bcc6faca75.tar.zst
freebsd-ports-gnome-3427201c6fd7bf0dbaef42bdeda9c7bcc6faca75.zip
- update to 2.2.2
- convert to optionsng (EXAMPLES case), while here PR: 176274 Submitted by: Fernando <fernando.apesteguia@gmail.com> (maintainer)
Diffstat (limited to 'cad/openvsp')
-rw-r--r--cad/openvsp/Makefile6
-rw-r--r--cad/openvsp/distinfo4
2 files changed, 6 insertions, 4 deletions
diff --git a/cad/openvsp/Makefile b/cad/openvsp/Makefile
index f1951bf8a76c..374ebfa6163f 100644
--- a/cad/openvsp/Makefile
+++ b/cad/openvsp/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= openvsp
-PORTVERSION= 2.2.1
+PORTVERSION= 2.2.2
CATEGORIES= cad
MASTER_SITES= https://github.com/OpenVSP/OpenVSP/archive/
@@ -37,6 +37,8 @@ PLIST_FILES= bin/vsp
CFLAGS+= -I${LOCALBASE}/include/openNURBS
+.include <bsd.port.options.mk>
+
do-fetch:
if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
${FETCH_BINARY} -o ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \
@@ -45,7 +47,7 @@ do-fetch:
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/vsp/vsp ${PREFIX}/bin
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_PORTEXAMPLES}
.endif
diff --git a/cad/openvsp/distinfo b/cad/openvsp/distinfo
index 5f176801b06e..862463077a09 100644
--- a/cad/openvsp/distinfo
+++ b/cad/openvsp/distinfo
@@ -1,2 +1,2 @@
-SHA256 (openvsp-2.2.1.tar.gz) = 563626dc839052b8b4bfb75d1e10c4966a79d4e8bb7d1ca51a2302c2793623f4
-SIZE (openvsp-2.2.1.tar.gz) = 2916214
+SHA256 (openvsp-2.2.2.tar.gz) = 93dd8978b568eb5726a9392308029b7b9967ae1af8c4033e8e8cba05f5a46e9b
+SIZE (openvsp-2.2.2.tar.gz) = 2921036