Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jul 2014 14:46:29 +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: r361377 - head/games/primateplunge
Message-ID:  <201407091446.s69EkTuY036915@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Wed Jul  9 14:46:29 2014
New Revision: 361377
URL: http://svnweb.freebsd.org/changeset/ports/361377
QAT: https://qat.redports.org/buildarchive/r361377/

Log:
  Stagify.

Modified:
  head/games/primateplunge/Makefile

Modified: head/games/primateplunge/Makefile
==============================================================================
--- head/games/primateplunge/Makefile	Wed Jul  9 14:42:23 2014	(r361376)
+++ head/games/primateplunge/Makefile	Wed Jul  9 14:46:29 2014	(r361377)
@@ -15,18 +15,14 @@ RUN_DEPENDS=	timidity:${PORTSDIR}/audio/
 GNU_CONFIGURE=	yes
 USE_SDL=	sdl mixer
 PRIMATEDIR=	sounds graphics
+OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 do-install:
-	@${INSTALL_SCRIPT} ${WRKSRC}/src/primateplunge ${PREFIX}/bin/primateplunge
+	@${INSTALL_PROGRAM} ${STRIP} ${WRKSRC}/src/primateplunge ${STAGEDIR}${PREFIX}/bin/primateplunge
 	@cd ${WRKSRC} && \
-		${FIND}	${PRIMATEDIR} -type d -exec ${MKDIR} "${DATADIR}/{}" \; && \
-		${FIND} -E ${PRIMATEDIR} -type f -iregex ".*\.(bmp|wav|mid)" -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
-
-post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/AUTHORS ${WRKSRC}/TIPS ${DOCSDIR}
-.endif
+		${FIND}	${PRIMATEDIR} -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/{}" \; && \
+		${FIND} -E ${PRIMATEDIR} -type f -iregex ".*\.(bmp|wav|mid)" -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \;
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/AUTHORS ${WRKSRC}/TIPS ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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