Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 14:57:33 +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: r333695 - head/games/xgospel
Message-ID:  <201311131457.rADEvXTk069367@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Wed Nov 13 14:57:33 2013
New Revision: 333695
URL: http://svnweb.freebsd.org/changeset/ports/333695

Log:
  - Remove the indefinite article from COMMENT
  - Convert LIB_DEPENDS to new syntax
  - Add stage support

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

Modified: head/games/xgospel/Makefile
==============================================================================
--- head/games/xgospel/Makefile	Wed Nov 13 14:42:29 2013	(r333694)
+++ head/games/xgospel/Makefile	Wed Nov 13 14:57:33 2013	(r333695)
@@ -8,9 +8,9 @@ CATEGORIES=	games
 MASTER_SITES=	http://gailly.net/
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	An X11 Go (weiqi, baduk) client for the Internet Go Server
+COMMENT=	X11 Go (weiqi, baduk) client for the Internet Go Server
 
-LIB_DEPENDS=	Xaw3d:${PORTSDIR}/x11-toolkits/Xaw3d
+LIB_DEPENDS=	libXaw3d.so:${PORTSDIR}/x11-toolkits/Xaw3d
 
 USE_XORG=	ice sm x11 xaw xext xmu xpm xt
 GNU_CONFIGURE=	yes
@@ -18,23 +18,22 @@ MAKE_JOBS_UNSAFE=	yes
 
 CONFIGURE_ARGS=	--with-x --with-xpm --with-xaw3d
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	${REINPLACE_CMD} -e "s,#ifndef _POSIX_SOURCE,#if 0," \
 		${WRKSRC}/connect.c ${WRKSRC}/relay.c ${WRKSRC}/relog.c \
 		${WRKSRC}/rport.c
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/relay ${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/rport ${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/xgospel ${PREFIX}/bin
-	@${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/board.xpm ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/pagoda.xpm ${DATADIR}
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/FAQ ${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/relay ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/rport ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/xgospel ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/board.xpm ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/pagoda.xpm ${STAGEDIR}${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/FAQ ${STAGEDIR}${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/games/xgospel/pkg-plist
==============================================================================
--- head/games/xgospel/pkg-plist	Wed Nov 13 14:42:29 2013	(r333694)
+++ head/games/xgospel/pkg-plist	Wed Nov 13 14:57:33 2013	(r333695)
@@ -1,9 +1,9 @@
 bin/relay
 bin/rport
 bin/xgospel
-%%PORTDOCS%%share/doc/xgospel/FAQ
-%%PORTDOCS%%share/doc/xgospel/README
-share/xgospel/board.xpm
-share/xgospel/pagoda.xpm
-@dirrm share/xgospel
-%%PORTDOCS%%@dirrm share/doc/xgospel
+%%PORTDOCS%%%%DOCSDIR%%/FAQ
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%DATADIR%%/board.xpm
+%%DATADIR%%/pagoda.xpm
+@dirrmtry %%DATADIR%%
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%



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