Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Nov 2013 01:33:13 +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: r333962 - head/games/xvmahjongg
Message-ID:  <201311160133.rAG1XDBs073327@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Sat Nov 16 01:33:13 2013
New Revision: 333962
URL: http://svnweb.freebsd.org/changeset/ports/333962

Log:
  - Add stage support

Modified:
  head/games/xvmahjongg/Makefile

Modified: head/games/xvmahjongg/Makefile
==============================================================================
--- head/games/xvmahjongg/Makefile	Sat Nov 16 01:28:38 2013	(r333961)
+++ head/games/xvmahjongg/Makefile	Sat Nov 16 01:33:13 2013	(r333962)
@@ -12,7 +12,7 @@ EXTRACT_SUFX=	.tar.Z
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Mahjongg for XView with multicolored tiles
 
-LIB_DEPENDS=	xview:${PORTSDIR}/x11-toolkits/xview
+LIB_DEPENDS=	libxview.so:${PORTSDIR}/x11-toolkits/xview
 
 OPTIONS_DEFINE=	DOCS
 
@@ -22,12 +22,9 @@ MAKE_ENV=	OPENWINHOME="${LOCALBASE}" MKD
 ALL_TARGET=	mahjongg.swap
 MAKE_JOBS_UNSAFE=	yes
 
-MAN6=		xvmahjongg.6
 PORTDOCS=	Notes README README.too
-PLIST_FILES=	bin/xvmahjongg
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+PLIST_FILES=	bin/xvmahjongg \
+		man/man6/xvmahjongg.6.gz
 
 post-patch:
 	@${REINPLACE_CMD} -e \
@@ -40,14 +37,12 @@ post-patch:
 
 do-install:
 	(cd ${WRKSRC} && ${INSTALL_PROGRAM} mahjongg \
-		${PREFIX}/bin/xvmahjongg)
+		${STAGEDIR}${PREFIX}/bin/xvmahjongg)
 	(cd ${WRKSRC} && ${INSTALL_MAN} mahjongg.6 \
-		${MAN6PREFIX}/man/man6/xvmahjongg.6)
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+		${STAGEDIR}${MAN6PREFIX}/man/man6/xvmahjongg.6)
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in ${PORTDOCS}
-	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
 .endfor
-.endif
 
 .include <bsd.port.mk>



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