Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Dec 2013 14:08:24 +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: r337417 - in head/games/openglad: . files
Message-ID:  <201312251408.rBPE8OaI050751@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Wed Dec 25 14:08:24 2013
New Revision: 337417
URL: http://svnweb.freebsd.org/changeset/ports/337417

Log:
  - Fix build on 8.x and 9.x
  - Add LICENSE, desktop entry file
  - Support staging
  
  PR:		ports/184848
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>

Deleted:
  head/games/openglad/files/patch-Makefile.in
Modified:
  head/games/openglad/Makefile   (contents, props changed)
  head/games/openglad/pkg-plist   (contents, props changed)

Modified: head/games/openglad/Makefile
==============================================================================
--- head/games/openglad/Makefile	Wed Dec 25 13:49:07 2013	(r337416)
+++ head/games/openglad/Makefile	Wed Dec 25 14:08:24 2013	(r337417)
@@ -3,29 +3,30 @@
 
 PORTNAME=	openglad
 PORTVERSION=	0.98
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	games
 MASTER_SITES=	SF/snowstorm/OpenGlad/Openglad-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	SDL port of an old DOS game called Gladiator
 
-USE_GMAKE=	yes
-GNU_CONFIGURE=	yes
+LICENSE=	GPLv2 # (or later)
+
+USES=		gmake
 USE_SDL=	sdl mixer
+GNU_CONFIGURE=	yes
 
 CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+
+DESKTOP_ENTRIES="OpenGlad" "" "" "${PORTNAME}" "" ""
 
 NOT_FOR_ARCHS=	sparc64
 
-.if defined(NOPORTDOCS)
-NO_STAGE=	yes
 post-patch:
-	@${REINPLACE_CMD} -e 's|^docs_DOCS = |nono&|' ${WRKSRC}/Makefile.in
-.endif
-
-post-configure:
-	${REINPLACE_CMD} -e 's|/path/to/data/dir|${LOCALBASE}/share/openglad|g' \
-		${WRKSRC}/openglad.cfg
+	@${REINPLACE_CMD} -e \
+		's|COPYING INSTALL|INSTALL|' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e \
+		's|/path/to/data/dir|${DATADIR}|' ${WRKSRC}/openglad.cfg
 
 .include <bsd.port.mk>

Modified: head/games/openglad/pkg-plist
==============================================================================
--- head/games/openglad/pkg-plist	Wed Dec 25 13:49:07 2013	(r337416)
+++ head/games/openglad/pkg-plist	Wed Dec 25 14:08:24 2013	(r337417)
@@ -1,7 +1,6 @@
 bin/openglad
 bin/openscen
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
 %%PORTDOCS%%%%DOCSDIR%%/INSTALL
 %%PORTDOCS%%%%DOCSDIR%%/NEWS



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