From owner-svn-ports-all@FreeBSD.ORG Sun Sep 9 22:08:44 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 57AAB106564A; Sun, 9 Sep 2012 22:08:44 +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 395DD8FC0C; Sun, 9 Sep 2012 22:08:44 +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 q89M8iSe045277; Sun, 9 Sep 2012 22:08:44 GMT (envelope-from swills@svn.freebsd.org) Received: (from swills@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q89M8hSl045272; Sun, 9 Sep 2012 22:08:43 GMT (envelope-from swills@svn.freebsd.org) Message-Id: <201209092208.q89M8hSl045272@svn.freebsd.org> From: Steve Wills Date: Sun, 9 Sep 2012 22:08:43 +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: r304004 - in head/games/ttt: . files 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: Sun, 09 Sep 2012 22:08:44 -0000 Author: swills Date: Sun Sep 9 22:08:43 2012 New Revision: 304004 URL: http://svn.freebsd.org/changeset/ports/304004 Log: - Add second MASTER_SITE - changed LICENSE (GPLv2) - changed to OptionsNG - Use PLIST_FILES instead of pkg_plist due to short package list - Give maintainership to submitter PR: ports/170995 Submitted by: nemysis Added: head/games/ttt/files/ head/games/ttt/files/patch-configure.ac (contents, props changed) head/games/ttt/files/ttt.in (contents, props changed) Deleted: head/games/ttt/pkg-plist Modified: head/games/ttt/Makefile (contents, props changed) head/games/ttt/pkg-descr (contents, props changed) Modified: head/games/ttt/Makefile ============================================================================== --- head/games/ttt/Makefile Sun Sep 9 21:47:00 2012 (r304003) +++ head/games/ttt/Makefile Sun Sep 9 22:08:43 2012 (r304004) @@ -7,37 +7,52 @@ PORTNAME= ttt PORTVERSION= 2011.04 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games -MASTER_SITES= ftp://ftp.tuxpaint.org/unix/x/ttt/ +MASTER_SITES= ftp://ftp.tuxpaint.org/unix/x/ttt/ \ + ftp://ftp.billsgames.com/unix/x/ttt/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= nemysis@gmx.ch COMMENT= Simple one or two player Tic Tac Toe game -# net/ttt -CONFLICTS= ttt-1* -NO_LATEST_LINK= yes +LICENSE= GPLv2 -LICENSE= GPLv2 GPLv3 -LICENSE_COMB= dual - -USE_SDL= sdl -USE_GMAKE= yes USE_AUTOTOOLS= aclocal automake autoheader autoconf AUTOMAKE_ARGS= --add-missing --force -MAKE_JOBS_SAFE= yes +ALL_TARGET= ${PORTNAME} +USE_SDL= mixer sdl CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -post-patch: - @${REINPLACE_CMD} -e \ - '/SDL_mixer/d' ${WRKSRC}/configure.ac - @${REINPLACE_CMD} -e \ - 's|\./images|${DATADIR}/images|g' ${WRKSRC}/src/init.c - -post-install: - @${MKDIR} ${DATADIR}/images - ${INSTALL_DATA} ${WRKSRC}/images/*.bmp ${DATADIR}/images +PLIST_FILES= bin/${PORTNAME} \ + share/pixmaps/${PORTNAME}.bmp + +PORTDATA= * +PORTDOCS= README + +SUB_FILES= ${PORTNAME} + +.include + +do-install: +# Scripts + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin + +# Executable + ${MKDIR} ${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${DATADIR} + +# Data + @(cd ${WRKSRC} && ${COPYTREE_SHARE} "images sounds" ${DATADIR}) + +# Pixmaps + ${INSTALL_DATA} ${WRKSRC}/images/program_logo.bmp ${PREFIX}/share/pixmaps/${PORTNAME}.bmp + +# Documentation +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif .include Added: head/games/ttt/files/patch-configure.ac ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/ttt/files/patch-configure.ac Sun Sep 9 22:08:43 2012 (r304004) @@ -0,0 +1,10 @@ +--- configure.ac.orig 2011-04-05 05:43:45.000000000 +0200 ++++ configure.ac 2012-09-09 04:55:17.000000000 +0200 +@@ -44,6 +44,7 @@ + AC_PROG_MKDIR_P + AC_PROG_SED + LT_INIT ++AC_SUBST([LIBTOOL_DEPS]) + + dnl AC_CHECK_LIB([duma], [_duma_malloc] ,,AC_MSG_ERROR(missing library)) + AC_CHECK_LIB([SDL], [SDL_Init] ,,AC_MSG_ERROR(missing library)) Added: head/games/ttt/files/ttt.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/ttt/files/ttt.in Sun Sep 9 22:08:43 2012 (r304004) @@ -0,0 +1,7 @@ +#!/bin/sh +# +# $FreeBSD$ + +echo "Tic Tac Toe: Starting up..." +cd "%%DATADIR%%" +./ttt Modified: head/games/ttt/pkg-descr ============================================================================== --- head/games/ttt/pkg-descr Sun Sep 9 21:47:00 2012 (r304003) +++ head/games/ttt/pkg-descr Sun Sep 9 22:08:43 2012 (r304004) @@ -1,6 +1,3 @@ -TTT (Tic-Tac-Toe) - -"ttt" is a very simple one - or two - player Tic Tac Toe game played using a -mouse. +ttt is a very simple one- or two-player Tic Tac Toe game played using a mouse. WWW: http://www.newbreedsoftware.com/ttt/