pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xwelltris: update MASTER_SITES and misc cleanups



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sat Oct 24 17:04:27 2015 +0200
Changeset:	369a0d9ec2b26922843977f2a7036847ed44707e

Modified Files:
	xwelltris/Makefile
	xwelltris/distinfo

Log Message:
xwelltris: update MASTER_SITES and misc cleanups

o Update MASTER_SITES. Unfortunately the original one is no longer
  available, use MASTER_SITE_DEBIAN (probably will be reliable also in
  the next few decades).
o Add a LICENSE
o INSTALL_DATA_DIR is not needed if we are adding the directory in
  INSTALLATION_DIRS (pkglint++)
o Bump PKGREVISION

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=369a0d9ec2b26922843977f2a7036847ed44707e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 xwelltris/Makefile | 9 +++++----
 xwelltris/distinfo | 7 ++++---
 2 files changed, 9 insertions(+), 7 deletions(-)

diffs:
diff --git a/xwelltris/Makefile b/xwelltris/Makefile
index fe190d9..8d17e2b 100644
--- a/xwelltris/Makefile
+++ b/xwelltris/Makefile
@@ -1,14 +1,16 @@
 # $NetBSD: Makefile,v 1.5 2012/10/07 20:11:11 asau Exp $
 #
 
-DISTNAME=	xwelltris-1.0.1.src
-PKGNAME=	${DISTNAME:S/.src//}
+DISTNAME=	xwelltris_1.0.1.orig
+PKGNAME=	${DISTNAME:S/_/-/:S/.orig//}
+PKGREVISION=	1
 CATEGORIES=	games
-MASTER_SITES=	http://xnc.jinr.ru/xwelltris/src/
+MASTER_SITES=	${MASTER_SITE_DEBIAN:=pool/main/x/xwelltris/}
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	http://xnc.jinr.ru/xwelltris/
 COMMENT=	Tetris like popular game
+LICENSE=	gnu-gpl-v2
 
 WRKSRC=		${WRKDIR}/${PKGNAME_NOREV}
 GNU_CONFIGURE=	yes
@@ -18,7 +20,6 @@ INSTALLATION_DIRS=	bin share/xwelltris
 
 do-install:
 	${INSTALL_GAME} ${WRKSRC}/xwelltris ${DESTDIR}${PREFIX}/bin
-	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/xwelltris
 	${INSTALL_DATA} ${WRKSRC}/data/*.dat ${WRKSRC}/data/*.gif \
 	    ${DESTDIR}${PREFIX}/share/xwelltris
 	${INSTALL_GAME_DATA} ${WRKSRC}/data/welltris.scores \
diff --git a/xwelltris/distinfo b/xwelltris/distinfo
index eb06d4e..fa6b95b 100644
--- a/xwelltris/distinfo
+++ b/xwelltris/distinfo
@@ -1,5 +1,6 @@
 $NetBSD: distinfo,v 1.1.1.1 2008/08/09 12:36:27 leot1990 Exp $
 
-SHA1 (xwelltris-1.0.1.src.tar.gz) = a4c63817966812eadaa0e4147f63889864d8b72a
-RMD160 (xwelltris-1.0.1.src.tar.gz) = 32c11ba23e90baf1004d44c297d0d84f805a731e
-Size (xwelltris-1.0.1.src.tar.gz) = 422822 bytes
+SHA1 (xwelltris_1.0.1.orig.tar.gz) = a4c63817966812eadaa0e4147f63889864d8b72a
+RMD160 (xwelltris_1.0.1.orig.tar.gz) = 32c11ba23e90baf1004d44c297d0d84f805a731e
+SHA512 (xwelltris_1.0.1.orig.tar.gz) = 6b1080c6e6d1b579c441d1f42bb6454dafed62a63790d5798e83cf137db7ff2ddc07db7e89b34402a5249770697cc3f8ad5e6222266142c7b43f6936828f2536
+Size (xwelltris_1.0.1.orig.tar.gz) = 422822 bytes


Home | Main Index | Thread Index | Old Index