Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2013 15:30:11 +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: r331961 - head/games/3dc
Message-ID:  <201310291530.r9TFUBpG018263@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Tue Oct 29 15:30:11 2013
New Revision: 331961
URL: http://svnweb.freebsd.org/changeset/ports/331961

Log:
  - Add stage support
  - Convert LIB_DEPENDS to new syntax
  - Add DOCS option

Modified:
  head/games/3dc/Makefile

Modified: head/games/3dc/Makefile
==============================================================================
--- head/games/3dc/Makefile	Tue Oct 29 15:27:17 2013	(r331960)
+++ head/games/3dc/Makefile	Tue Oct 29 15:30:11 2013	(r331961)
@@ -14,14 +14,15 @@ COMMENT=	3-Dimensional Chess for X Windo
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	Xaw3d:${PORTSDIR}/x11-toolkits/Xaw3d
+LIB_DEPENDS=	libXaw3d.so:${PORTSDIR}/x11-toolkits/Xaw3d
 
 USES=		perl5
 USE_PERL5=	build
 USE_XORG=	x11 xaw xext xmu xpm xt
 WRKSRC=		${WRKDIR}/3Dc/src
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 .for file in init.c main.c piece.c stack.c xif.c
 	@${REINPLACE_CMD} -i '' -e 's|malloc.h|stdlib.h|' \
@@ -29,12 +30,10 @@ post-patch:
 .endfor
 
 do-install:
-	@ ${INSTALL_PROGRAM} ${WRKSRC}/3Dc ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
-	@ ${MKDIR} ${PREFIX}/share/doc/3Dc
+	${INSTALL_PROGRAM} ${WRKSRC}/3Dc ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/3Dc
 .for file in 3Dc-rules.html ACKNOWLEDGEMENTS GPL README TODO
-	@ ${INSTALL_DATA} ${WRKSRC}/../${file} ${PREFIX}/share/doc/3Dc
+	${INSTALL_DATA} ${WRKSRC}/../${file} ${STAGEDIR}${PREFIX}/share/doc/3Dc
 .endfor
-.endif
 
 .include <bsd.port.mk>



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