Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2014 02:37:05 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361421 - in head/games: scourge scourge-data
Message-ID:  <201407100237.s6A2b5qK077729@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Thu Jul 10 02:37:05 2014
New Revision: 361421
URL: http://svnweb.freebsd.org/changeset/ports/361421
QAT: https://qat.redports.org/buildarchive/r361421/

Log:
  Stagify.

Modified:
  head/games/scourge-data/Makefile
  head/games/scourge/Makefile
  head/games/scourge/pkg-descr

Modified: head/games/scourge-data/Makefile
==============================================================================
--- head/games/scourge-data/Makefile	Thu Jul 10 00:30:19 2014	(r361420)
+++ head/games/scourge-data/Makefile	Thu Jul 10 02:37:05 2014	(r361421)
@@ -18,7 +18,6 @@ DATADIR=	share/${PKGNAMEPREFIX:S/-//}
 PLIST=		${WRKDIR}/pkg-plist
 WRKSRC=		${WRKDIR}/${PKGNAMEPREFIX:S/-/_/}${PORTNAME}
 
-NO_STAGE=	yes
 pre-install:
 	@${RM} -f ${PLIST}
 	@cd ${WRKSRC} && \
@@ -28,9 +27,9 @@ pre-install:
 
 do-install:
 	@cd ${WRKSRC} && \
-		${MKDIR} ${PREFIX}/${DATADIR} && \
-			${CP} -R * ${PREFIX}/${DATADIR}
-	@cd ${PREFIX}/${DATADIR} && \
+		${MKDIR} ${STAGEDIR}${PREFIX}/${DATADIR} && \
+			${CP} -R * ${STAGEDIR}${PREFIX}/${DATADIR}
+	@cd ${STAGEDIR}${PREFIX}/${DATADIR} && \
 		${FIND} * -type f -print0 | ${XARGS} -0 ${CHMOD} ${SHAREMODE}
 
 .include <bsd.port.mk>

Modified: head/games/scourge/Makefile
==============================================================================
--- head/games/scourge/Makefile	Thu Jul 10 00:30:19 2014	(r361420)
+++ head/games/scourge/Makefile	Thu Jul 10 02:37:05 2014	(r361421)
@@ -30,13 +30,7 @@ PLIST_FILES=	bin/${PORTNAME}
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
 OPTIONS_DEFINE=	DEBUG
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDEBUG}
-CONFIGURE_ARGS+=	--enable-debug
-.endif
+DEBUG_CONFIGURE_ENABLE=	debug
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|GLvoid|void|g' ${WRKSRC}/src/sdlhandler.cpp ${WRKSRC}/src/sdlhandler.h
@@ -45,9 +39,6 @@ pre-configure:
 	@cd ${WRKSRC} && ${AUTORECONF} -i
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/
-
-post-install:
-	@${CAT} ${PKGMESSAGE}
+	@${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
 
 .include <bsd.port.mk>

Modified: head/games/scourge/pkg-descr
==============================================================================
--- head/games/scourge/pkg-descr	Thu Jul 10 00:30:19 2014	(r361420)
+++ head/games/scourge/pkg-descr	Thu Jul 10 02:37:05 2014	(r361421)
@@ -5,4 +5,4 @@ from old to new: It lets you rotate the 
 special effects, etc. On the other hand I've always liked the
 old-school isometric games like Exult or Woodward.
 
-WWW:	http://scourge.sourceforge.net/
+WWW: http://scourge.sourceforge.net/



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