Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2014 09:59:13 +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: r361756 - head/games/ceferino
Message-ID:  <201407140959.s6E9xDFg068886@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Mon Jul 14 09:59:13 2014
New Revision: 361756
URL: http://svnweb.freebsd.org/changeset/ports/361756
QAT: https://qat.redports.org/buildarchive/r361756/

Log:
  Stagify.
  
  Approved by:	portmgr@ (blanket)

Modified:
  head/games/ceferino/Makefile

Modified: head/games/ceferino/Makefile
==============================================================================
--- head/games/ceferino/Makefile	Mon Jul 14 09:57:31 2014	(r361755)
+++ head/games/ceferino/Makefile	Mon Jul 14 09:59:13 2014	(r361756)
@@ -20,7 +20,6 @@ CEFEDIRS=	ima music levels sounds
 
 OPTIONS_DEFINE=	NLS DOCS
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MNLS}
@@ -40,22 +39,18 @@ post-configure:
 
 do-install:
 	@cd ${WRKSRC}/src && \
-		${INSTALL_PROGRAM} ceferino ceferinoeditor ceferinosetup ${PREFIX}/bin
+		${INSTALL_PROGRAM} ceferino ceferinoeditor ceferinosetup ${STAGEDIR}${PREFIX}/bin
 	@cd ${WRKSRC}/data && \
-		${FIND} ${CEFEDIRS} -type d -exec ${MKDIR} "${DATADIR}/{}" \; && \
-		${FIND} -E ${CEFEDIRS} -type f -iregex ".*\.(png|jpg|xm|map|wav)" -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
+		${FIND} ${CEFEDIRS} -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/{}" \; && \
+		${FIND} -E ${CEFEDIRS} -type f -iregex ".*\.(png|jpg|xm|map|wav)" -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \;
 .if defined(FLAG_NLS)
 .for f in es ca fr
-	${MKDIR} ${PREFIX}/share/locale/${f}/LC_MESSAGES && \
-		${INSTALL_DATA} ${WRKSRC}/po/${f}.gmo ${PREFIX}/share/locale/${f}/LC_MESSAGES/${PORTNAME}.mo
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${f}/LC_MESSAGES && \
+		${INSTALL_DATA} ${WRKSRC}/po/${f}.gmo ${STAGEDIR}${PREFIX}/share/locale/${f}/LC_MESSAGES/${PORTNAME}.mo
 .endfor
 .endif
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	@cd ${WRKSRC} && \
-		${INSTALL_DATA} AUTHORS ChangeLog README ${DOCSDIR}
-.endif
+		${INSTALL_DATA} AUTHORS ChangeLog README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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