ports/172004: games/rocksndiamonds: Update MASTER_SITES
KATO Tsuguru
tkato432 at yahoo.com
Tue Sep 25 18:10:25 UTC 2012
>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 at FreeBSD.org>
-#
+# Created by: Thomas Gellekum <tg at 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 at 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:
More information about the freebsd-ports-bugs
mailing list