From owner-svn-ports-all@FreeBSD.ORG Mon Sep 10 03:08:17 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AC9B5106566C; Mon, 10 Sep 2012 03:08:17 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7E1308FC08; Mon, 10 Sep 2012 03:08:17 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q8A38HnI081700; Mon, 10 Sep 2012 03:08:17 GMT (envelope-from swills@svn.freebsd.org) Received: (from swills@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q8A38H7U081698; Mon, 10 Sep 2012 03:08:17 GMT (envelope-from swills@svn.freebsd.org) Message-Id: <201209100308.q8A38H7U081698@svn.freebsd.org> From: Steve Wills Date: Mon, 10 Sep 2012 03:08:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r304018 - head/games/madbomber X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2012 03:08:17 -0000 Author: swills Date: Mon Sep 10 03:08:16 2012 New Revision: 304018 URL: http://svn.freebsd.org/changeset/ports/304018 Log: - Add second MASTER_SITES entry - Avoid pkg-plist due to short plist - Set LICENSE - Convert to OptionsNG - Give maintainership to submitter PR: ports/171267 Submitted by: nemysis Deleted: head/games/madbomber/pkg-plist Modified: head/games/madbomber/Makefile (contents, props changed) Modified: head/games/madbomber/Makefile ============================================================================== --- head/games/madbomber/Makefile Mon Sep 10 03:02:02 2012 (r304017) +++ head/games/madbomber/Makefile Mon Sep 10 03:08:16 2012 (r304018) @@ -7,28 +7,52 @@ PORTNAME= madbomber PORTVERSION= 0.2.5 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= games -MASTER_SITES= ftp://ftp.billsgames.com/unix/x/madbomber/src/ +MASTER_SITES= ftp://ftp.tuxpaint.org/unix/x/madbomber/src/ \ + ftp://ftp.billsgames.com/unix/x/madbomber/src/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= nemysis@gmx.ch COMMENT= A clone of Activision's classic Atari 2600 console game "Kaboom!" +LICENSE= GPLv2 + USE_SDL= mixer image sdl CPPFLAGS+= `${SDL_CONFIG} --cflags` -DDATA_PREFIX=\"${DATADIR}/\" LDFLAGS+= `${SDL_CONFIG} --libs` +PLIST_FILES= bin/${PORTNAME} \ + share/pixmaps/${PORTNAME}.png + +PORTDATA= * +PORTDOCS= AUTHORS.txt CHANGES.txt README.txt TODO.txt + +.include + do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} -o ${PORTNAME} \ ${PORTNAME}.c ${LDFLAGS} -lSDL_mixer -lSDL_image do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/madbomber ${PREFIX}/bin - @${MKDIR} ${DATADIR} - ${TAR} -C ${WRKSRC}/data --exclude embedded -cf - . | \ - ${TAR} -C ${DATADIR} --unlink -xf - - @${FIND} ${DATADIR} | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP} - @${FIND} ${DATADIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE} +# Executable + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + +# Data + ${MKDIR} ${DATADIR} +.for d in images music sounds + @(cd ${WRKSRC}/data && ${COPYTREE_SHARE} ${d} ${DATADIR}) +.endfor + +# Pixmaps + ${INSTALL_DATA} ${WRKSRC}/data/images/icon.png ${PREFIX}/share/pixmaps/${PORTNAME}.png + +# Documentation +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR} +. for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +. endfor +.endif .include