Date: Thu, 7 Feb 2013 14:45:24 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r311856 - in head/games/starlanes: . files Message-ID: <201302071445.r17EjOlk087399@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: miwi Date: Thu Feb 7 14:45:23 2013 New Revision: 311856 URL: http://svnweb.freebsd.org/changeset/ports/311856 Log: - Fix build with clang PR: 175041 Submitted by: ports fury Deleted: head/games/starlanes/files/patch-aa head/games/starlanes/files/patch-ab Modified: head/games/starlanes/Makefile (contents, props changed) Modified: head/games/starlanes/Makefile ============================================================================== --- head/games/starlanes/Makefile Thu Feb 7 14:43:48 2013 (r311855) +++ head/games/starlanes/Makefile Thu Feb 7 14:45:23 2013 (r311856) @@ -1,24 +1,28 @@ -# New ports collection makefile for: starlanes -# Date created: 7 May 1997 -# Whom: Andrey Zakhvatov -# +# Created by: Andrey Zakhvatov # $FreeBSD$ -# PORTNAME= starlanes PORTVERSION= 1.2.2 CATEGORIES= games -MASTER_SITES= ${MASTER_SITE_SUNSITE} -MASTER_SITE_SUBDIR= games/strategy +MASTER_SITES= SUNSITE/games/strategy MAINTAINER= ports@FreeBSD.org -COMMENT= The classic space-age stock trading game +COMMENT= Classic space-age stock trading game -ALL_TARGET= # empty MAN6= starlanes.6 PLIST_FILES= bin/starlanes -post-extract: - @${RM} ${WRKSRC}/starlanes +post-patch: + @${REINPLACE_CMD} -e \ + 's| restrict| m_restrict| ; \ + s|(restrict|(m_restrict|' ${WRKSRC}/starlanes.c + +do-build: + (cd ${WRKSRC} \ + && ${CC} ${CFLAGS} -o starlanes starlanes.c -lcurses) + +do-install: + (cd ${WRKSRC} && ${INSTALL_PROGRAM} starlanes ${PREFIX}/bin) + (cd ${WRKSRC} && ${INSTALL_MAN} starlanes.6 ${MAN6PREFIX}/man/man6) .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302071445.r17EjOlk087399>