Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Oct 2015 14:28:01 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r399195 - branches/2015Q4/games/super_methane_brothers
Message-ID:  <201510131428.t9DES1KV047184@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Oct 13 14:28:00 2015
New Revision: 399195
URL: https://svnweb.freebsd.org/changeset/ports/399195

Log:
  MFH: r399176
  
  - Unbreak by installing missing data files
  - Remove unused depends
  - Remove /var/games stuff which is not used
  
  Approved by:	ports-secteam (feld)

Deleted:
  branches/2015Q4/games/super_methane_brothers/pkg-req
Modified:
  branches/2015Q4/games/super_methane_brothers/Makefile
Directory Properties:
  branches/2015Q4/   (props changed)

Modified: branches/2015Q4/games/super_methane_brothers/Makefile
==============================================================================
--- branches/2015Q4/games/super_methane_brothers/Makefile	Tue Oct 13 14:27:14 2015	(r399194)
+++ branches/2015Q4/games/super_methane_brothers/Makefile	Tue Oct 13 14:28:00 2015	(r399195)
@@ -3,7 +3,7 @@
 
 PORTNAME=	super_methane_brothers
 PORTVERSION=	1.5.1
-PORTREVISION=	4
+PORTREVISION=	6
 CATEGORIES=	games
 MASTER_SITES=	SF/methane/Methane%20Stable/Methane%20V${PORTVERSION}
 DISTNAME=	methane-${PORTVERSION}
@@ -17,20 +17,20 @@ LIB_DEPENDS=	libclan23Core.so:${PORTSDIR
 
 USES=		execinfo gmake pkgconfig tar:tgz
 USE_GCC=	yes
-USE_GL=		glu
 MAKE_ENV=	METHANE_FLAGS="${CPPFLAGS}" METHANE_LIBS="${LIBS}"
 MAKE_JOBS_UNSAFE=	yes
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 LIBS+=		-L${LOCALBASE}/lib -lexecinfo
 
+DATADIR=	${PREFIX}/share/methane
+
 PORTDOCS=	*
+PORTDATA=	*
 PLIST_FILES=	bin/methane
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|-2.2|-2.3|g ; \
@@ -40,14 +40,11 @@ post-patch:
 		 s|gcc|$${CXX}|' ${WRKSRC}/Makefile
 
 do-install:
-	(cd ${WRKDIR}/${DISTNAME} && ${INSTALL_PROGRAM} methane ${STAGEDIR}${PREFIX}/bin)
-	${CHGRP} games ${STAGEDIR}${PREFIX}/bin/methane
-	${CHMOD} g+s ${STAGEDIR}${PREFIX}/bin/methane
-.if ${PORT_OPTIONS:MDOCS}
+	${INSTALL_PROGRAM} ${WRKSRC}/methane ${STAGEDIR}${PREFIX}/bin
+	cd ${WRKSRC}/resources && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	@(cd ${WRKDIR}/${DISTNAME}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
-.endif
-	@${SETENV} PKG_PREFIX=${PREFIX} \
-		${SH} ${PKGREQ} ${PKGNAME} POST-INSTALL
 
 .include <bsd.port.mk>



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