svn commit: r337417 - in head/games/openglad: . files

Pawel Pekala pawel at FreeBSD.org
Wed Dec 25 14:08:25 UTC 2013


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 at 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 at 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


More information about the svn-ports-head mailing list