Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 02:23:09 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/172004: games/rocksndiamonds: Update MASTER_SITES
Message-ID:  <20120926022309.e6be699e2d3091acbca98c25@yahoo.com>
Resent-Message-ID: <201209251810.q8PIAOhf020380@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         172004
>Category:       ports
>Synopsis:       games/rocksndiamonds: Update MASTER_SITES
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 25 18:10:24 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES
- Add LICENSE
- Add MAKE_JOBS_SAFE

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/rocksndiamonds/Makefile games/rocksndiamonds/Makefile
--- /usr/ports/games/rocksndiamonds/Makefile	2012-02-18 19:18:10.000000000 +0900
+++ games/rocksndiamonds/Makefile	2012-09-25 03:32:36.000000000 +0900
@@ -1,28 +1,31 @@
-# New ports collection makefile for:	rocksndiamonds
-# Date created:		27 May 1999
-# Whom:			Thomas Gellekum <tg@FreeBSD.org>
-#
+# Created by: Thomas Gellekum <tg@FreeBSD.org>
 # $FreeBSD: ports/games/rocksndiamonds/Makefile,v 1.37 2012/02/18 10:18:10 mva Exp $
-#
 
 PORTNAME=	rocksndiamonds
 PORTVERSION=	3.3.0.1
 PORTREVISION=	1
 CATEGORIES=	games
-MASTER_SITES=	http://www.artsoft.org/RELEASES/unix/rocksndiamonds/ \
-		http://freebsd.unixfreunde.de/sources/
+MASTER_SITES=	SF/${PORTNAME}.mirror \
+		http://www.artsoft.org/RELEASES/unix/rocksndiamonds/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Colorful Boulderdash'n'Emerald Mine'n'Sokoban'n'Stuff
 
+LICENSE=	GPLv2
+
+OPTIONS_DEFINE=	SDL DOCS
+
 USE_GMAKE=	yes
 MAKE_ARGS=	CC="${CC}" MAKE="${GMAKE}" OPTIONS="${CFLAGS}" \
 		RO_GAME_DIR="${DATADIR}" RW_GAME_DIR="${DATADIR}/scores" \
 		X11_PATH="${LOCALBASE}"
+MAKE_JOBS_SAFE=	yes
 
 MAN1=		rocksndiamonds.1
 
-.if defined(WITH_SDL)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MSDL}
 LIB_DEPENDS+=	smpeg:${PORTSDIR}/multimedia/smpeg
 USE_SDL=	image mixer net sdl
 ALL_TARGET=	sdl
@@ -43,7 +46,7 @@
 	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${DATADIR})
 .endfor
 	@${CHMOD} 777 ${DATADIR}/scores
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for docfile in ChangeLog CREDITS README
 	${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120926022309.e6be699e2d3091acbca98c25>