Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jun 2014 15:37:44 +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: r357894 - head/games/mkgichessclub
Message-ID:  <201406151537.s5FFbiJa003744@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Sun Jun 15 15:37:44 2014
New Revision: 357894
URL: http://svnweb.freebsd.org/changeset/ports/357894
QAT: https://qat.redports.org/buildarchive/r357894/

Log:
  Stagify.
  
  Approved by:	portmgr@

Modified:
  head/games/mkgichessclub/Makefile

Modified: head/games/mkgichessclub/Makefile
==============================================================================
--- head/games/mkgichessclub/Makefile	Sun Jun 15 15:22:24 2014	(r357893)
+++ head/games/mkgichessclub/Makefile	Sun Jun 15 15:37:44 2014	(r357894)
@@ -24,32 +24,21 @@ SUB_FILES=	pkg-message
 USE_MYSQL=	server
 USE_PHP=	mysql pcre session
 USE_PYTHON=	yes
+GNUCHESS_RUN_DEPENDS=	gnuchess:${PORTSDIR}/games/gnuchess
+PHALANX_RUN_DEPENDS=	phalanx:${PORTSDIR}/games/phalanx
 
 WRKSRC=	${WRKDIR}/MKGIChessClub-${PORTVERSION}
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 do-install:
-	${MKDIR} ${DATADIR}; cd ${WRKSRC}; \
-	${INSTALL_DATA} database/* ${DATADIR}; \
-	${MKDIR} ${WWWDIR}; cd www; ${CP} -R . ${WWWDIR}
+	${MKDIR} ${STAGEDIR}${DATADIR}; cd ${WRKSRC}; \
+	${INSTALL_DATA} database/* ${STAGEDIR}${DATADIR}; \
+	${MKDIR} ${STAGEDIR}${WWWDIR}; cd www; ${CP} -R . ${STAGEDIR}${WWWDIR}
 
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}; \
-	${INSTALL_DATA} ${WRKSRC}/README.INSTALL ${DOCSDIR}
-.endif
-
-# pkg-message taken from www/b2evolution
-post-install:
-	${CAT} ${PKGMESSAGE}
-
-.if ${PORT_OPTIONS:MGNUCHESS}
-RUN_DEPENDS+=	gnuchess:${PORTSDIR}/games/gnuchess
-.endif
-
-.if ${PORT_OPTIONS:MPHALANX}
-RUN_DEPENDS+=	phalanx:${PORTSDIR}/games/phalanx
+	${MKDIR} ${STAGEDIR}${DOCSDIR}; \
+	${INSTALL_DATA} ${WRKSRC}/README.INSTALL ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>



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