On Sun, Nov 23, 2014 at 12:33:38AM +0100, Landry Breuil wrote:
> > in games/sudoku, we have
> > 
> > $ make show=PKGNAME
> > sudoku-1.0.1
> > 
> > and in x11/gnustep/sudoku:
> > 
> > $ make show=PKGNAME
> > sudoku-0.7

[...]

> > So should I make a patch renaming the gnustep sudoku to gsudoku (or
> > some other name) and an appropriate entry to devel/quirks?
> 
> yes please, either gsudoku or gnustep-sudoku.. sebastian, what do you
> think about it ? At least they dont conflict because of the capital S..

Here's the renaming diff for x11/gnustep/sudoku. Unfortunately, I
don't know how to tell quirks to *not* replace sudoku-1.0.1 (the
package from games/sudoku) by gnustep-sudoku; the entries in
$stem_extensions in Quirks.pm obviously only contain -- well --
stems, without versions. Any ideas?

Ciao,
        Kili


Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/gnustep/sudoku/Makefile,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile
--- Makefile    21 Nov 2014 18:21:22 -0000      1.8
+++ Makefile    23 Nov 2014 18:31:10 -0000
@@ -2,8 +2,10 @@
 
 COMMENT =      GNUstep sudoku generator
 
-DISTNAME =     Sudoku-0.7
-REVISION =     5
+V =            0.7
+DISTNAME =     Sudoku-$V
+REVISION =     6
+PKGNAME =      gnustep-sudoku-$V
 CATEGORIES =   games
 
 HOMEPAGE =     http://gap.nongnu.org/sudoku/
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/x11/gnustep/sudoku/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST   25 Apr 2013 16:40:11 -0000      1.2
+++ pkg/PLIST   23 Nov 2014 18:30:44 -0000
@@ -1,4 +1,5 @@
 @comment $OpenBSD: PLIST,v 1.2 2013/04/25 16:40:11 sebastia Exp $
+@conflict sudoku-<=0.7.4p5
 bin/Sudoku
 libexec/GNUstep/Sudoku.app/
 libexec/GNUstep/Sudoku.app/Resources/

Reply via email to