diff options
author | mm <mm@FreeBSD.org> | 2011-09-20 23:48:12 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2011-09-20 23:48:12 +0800 |
commit | e01b574d779f55eaf3668c75c1995275efd91c65 (patch) | |
tree | 601c30642f03be26fbae5a1c82c466228c0d7e83 /graphics | |
parent | 9ca4a0c0c39144a83ae6b53d59da30cd3ed9be1d (diff) | |
download | freebsd-ports-gnome-e01b574d779f55eaf3668c75c1995275efd91c65.tar.gz freebsd-ports-gnome-e01b574d779f55eaf3668c75c1995275efd91c65.tar.zst freebsd-ports-gnome-e01b574d779f55eaf3668c75c1995275efd91c65.zip |
Fix portversion going backwards
Reported by: erwin
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/opencv/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile index 1eaea48b1fdc..497543f51e1b 100644 --- a/graphics/opencv/Makefile +++ b/graphics/opencv/Makefile @@ -6,10 +6,11 @@ # PORTNAME?= opencv -DISTVERSION= 2.3.1a +PORTVERSION= 2.3.1 +PORTREVISION= 1 CATEGORIES= graphics -MASTER_SITES= SF/${PORTNAME}library/${PORTNAME}-unix/${DISTVERSION:S/a//} -DISTNAME= OpenCV-${DISTVERSION} +MASTER_SITES= SF/${PORTNAME}library/${PORTNAME}-unix/${PORTVERSION} +DISTNAME= OpenCV-${DISTVERSION}a MAINTAINER= mm@FreeBSD.org COMMENT= Open Source Computer Vision library from Intel @@ -24,13 +25,13 @@ USE_BZIP2= yes USE_CMAKE= yes USE_LDCONFIG= yes -WRKSRC= ${WRKDIR}/OpenCV-${DISTVERSION:S/a//} +WRKSRC= ${WRKDIR}/OpenCV-${DISTVERSION} NOT_FOR_ARCHS= sparc64 NOT_FOR_ARCHS_REASON_sparc64= does not compile on sparc64 DATADIR= ${PREFIX}/share/OpenCV -PLIST_SUB+= VERSION=${DISTVERSION:S/a//} +PLIST_SUB+= VERSION=${DISTVERSION} .if !defined(_BUILDING_OPENCV_CORE) && !defined(_BUILDING_OPENCV_PYTHON) EXTRA_PATCHES+= ${FILESDIR}/extra-patch-opencv |