svn commit: r315536 - in head/games/blobby: . files

Ganael LAPLANCHE martymac at FreeBSD.org
Fri Mar 29 11:33:15 UTC 2013


On Fri, 29 Mar 2013 10:40:52 +0000, Alexey Dokuchaev wrote

Hi ALexey,

> > -PORTVERSION=	1.0r1
> > +PORTVERSION=	1.0r3
> 
> It would be nice to use DISTVERSION one day (when would be 
> possible without reordering pacakge version).
> [...]

Thanks for the hint ! Unfortunately, as you say, with the following patch :

8<--------
diff -aurN games/blobby.orig/Makefile games/blobby/Makefile
--- games/blobby.orig/Makefile  2013-03-29 11:22:43.000000000 +0100
+++ games/blobby/Makefile       2013-03-29 12:26:56.803061203 +0100
@@ -2,10 +2,10 @@
 # $FreeBSD: games/blobby/Makefile 315536 2013-03-29 10:22:43Z martymac $
 
 PORTNAME=      blobby
-PORTVERSION=   1.0r3
+DISTVERSION=   1.0rc3
 CATEGORIES=    games
 MASTER_SITES=  SF/${PORTNAME}/Blobby%20Volley%202%20%28Linux%29/1.0RC3/
-DISTNAME=      blobby2-linux-1.0rc3
+DISTFILES=     blobby2-linux-${DISTVERSION}${EXTRACT_SUFX}
 
 MAINTAINER=    martymac at FreeBSD.org
 COMMENT=       Official continuation of the famous Blobby Volley 1.x game
@@ -22,7 +22,6 @@
 USE_GL=                glu
 USES=          cmake
 CMAKE_ARGS+=   -DDATADIR:PATH="${DATADIR}"
-WRKSRC=                ${WRKDIR}/blobby-1.0rc3
 
 USE_DOS2UNIX=  yes
 DOS2UNIX_REGEX=        .*\.(c|h|cpp)
8<--------

PORTVERSION would become 1.0.r3, which is < 1.0r3, so I would need to
bump PORTEPOCH to switch to this new naming scheme. Not sure it is
better than using the current DISTNAME+WRKSRC combo :/

Best regards,

--
Ganael LAPLANCHE <ganael.laplanche at martymac.org>
http://www.martymac.org | http://contribs.martymac.org
FreeBSD: martymac <martymac at FreeBSD.org>, http://www.FreeBSD.org


More information about the svn-ports-all mailing list