Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 2013 03:52:52 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334055 - head/games/imaze
Message-ID:  <201311170352.rAH3qqCo010258@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Sun Nov 17 03:52:51 2013
New Revision: 334055
URL: http://svnweb.freebsd.org/changeset/ports/334055

Log:
  - Add stage support

Modified:
  head/games/imaze/Makefile
  head/games/imaze/pkg-plist

Modified: head/games/imaze/Makefile
==============================================================================
--- head/games/imaze/Makefile	Sun Nov 17 03:28:04 2013	(r334054)
+++ head/games/imaze/Makefile	Sun Nov 17 03:52:51 2013	(r334055)
@@ -31,9 +31,8 @@ HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	${TOOLKIT} X11Dir="${LOCALBASE}" CFlags="${CFLAGS}"
 MAKE_ENV=	SOUNDDIR="${DATADIR}/sounds"
 
-MAN6=		genlab.6 imaze.6 imazesrv.6 imazestat.6 ninja.6 xlabed.6
+MAN_PAGES=	genlab.6 imaze.6 imazesrv.6 imazestat.6 ninja.6 xlabed.6
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if empty(PORT_OPTIONS:MAUDIO)
@@ -60,17 +59,17 @@ TOOLKIT=	xview
 
 do-install:
 .for i in genlab imaze imazesrv imazestat ninja xlabed
-	(cd ${WRKSRC}/source && ${INSTALL_PROGRAM} ${i} ${PREFIX}/bin)
+	(cd ${WRKSRC}/source && ${INSTALL_PROGRAM} ${i} ${STAGEDIR}${PREFIX}/bin)
 .endfor
-.for i in ${MAN6}
-	(cd ${WRKSRC}/man6 && ${INSTALL_MAN} ${i} ${MAN6PREFIX}/man/man6)
+.for i in ${MAN_PAGES}
+	(cd ${WRKSRC}/man6 && ${INSTALL_MAN} ${i} ${STAGEDIR}${MAN6PREFIX}/man/man6)
 .endfor
-	@${MKDIR} ${DATADIR}
-	(cd ${WRKSRC} && ${INSTALL_DATA} README ${DATADIR})
-	@${MKDIR} ${DATADIR}/labs
-	(cd ${WRKSRC}/labs && ${INSTALL_DATA} *.lab ${DATADIR}/labs)
-	@${MKDIR} ${DATADIR}/sounds
-	(cd ${WRKSRC}/sounds && ${INSTALL_DATA} *.au ${DATADIR}/sounds)
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DATADIR})
+	@${MKDIR} ${STAGEDIR}${DATADIR}/labs
+	(cd ${WRKSRC}/labs && ${INSTALL_DATA} *.lab ${STAGEDIR}${DATADIR}/labs)
+	@${MKDIR} ${STAGEDIR}${DATADIR}/sounds
+	(cd ${WRKSRC}/sounds && ${INSTALL_DATA} *.au ${STAGEDIR}${DATADIR}/sounds)
 	@${ECHO_MSG} "Please read the file \"${DATADIR}/README\"."
 
 .include <bsd.port.mk>

Modified: head/games/imaze/pkg-plist
==============================================================================
--- head/games/imaze/pkg-plist	Sun Nov 17 03:28:04 2013	(r334054)
+++ head/games/imaze/pkg-plist	Sun Nov 17 03:52:51 2013	(r334055)
@@ -4,6 +4,12 @@ bin/genlab
 bin/imazesrv
 bin/imazestat
 bin/xlabed
+man/man6/genlab.6.gz
+man/man6/imaze.6.gz
+man/man6/imazesrv.6.gz
+man/man6/imazestat.6.gz
+man/man6/ninja.6.gz
+man/man6/xlabed.6.gz
 share/imaze/labs/10x10.lab
 share/imaze/labs/12x12.lab
 share/imaze/labs/15x15.lab



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