Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Nov 2012 20:06:36 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r307249 - head/games/rocksndiamonds
Message-ID:  <201211092006.qA9K6amk046903@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri Nov  9 20:06:36 2012
New Revision: 307249
URL: http://svnweb.freebsd.org/changeset/ports/307249

Log:
  - Update MASTER_SITES
  - Add LICENSE
  - Mark MAKE_JOBS_SAFE
  - Convert to optionsNG
  
  PR:		ports/172004
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
  Feature safe:	yes

Modified:
  head/games/rocksndiamonds/Makefile

Modified: head/games/rocksndiamonds/Makefile
==============================================================================
--- head/games/rocksndiamonds/Makefile	Fri Nov  9 19:45:26 2012	(r307248)
+++ head/games/rocksndiamonds/Makefile	Fri Nov  9 20:06:36 2012	(r307249)
@@ -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$
-#
 
 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 @@ do-install:
 	@(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}



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