Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2013 03:19:37 +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: r333477 - head/games/tksol
Message-ID:  <201311110319.rAB3JbuE052355@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Mon Nov 11 03:19:37 2013
New Revision: 333477
URL: http://svnweb.freebsd.org/changeset/ports/333477

Log:
  - Remove the indefinite article from COMMENT
  - Add wish8.4 as RUN_DEPENDS
  - Add stage support

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

Modified: head/games/tksol/Makefile
==============================================================================
--- head/games/tksol/Makefile	Mon Nov 11 03:10:27 2013	(r333476)
+++ head/games/tksol/Makefile	Mon Nov 11 03:19:37 2013	(r333477)
@@ -9,32 +9,29 @@ MASTER_SITES=	SUNSITE/games/solitaires
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A version of the card game solitaire
+COMMENT=	Version of the card game solitaire
 
 LICENSE=	GPLv2
 
+RUN_DEPENDS=	wish8.4:${PORTSDIR}/x11-toolkits/tk84
+
 WRKSRC=		${WRKDIR}/${PORTNAME}
 NO_BUILD=	yes
 
-USE_TK_WRAPPER=	yes
-
-MAN6=		tksol.6
-
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|^#/bin/sh|#!/bin/sh| ; \
-		 s|/usr/local/lib/tksol|${DATADIR}|' ${WRKSRC}/tksol
+		 s|/usr/local/lib/tksol|${DATADIR}| ; \
+		 s|wish|wish8.4|' ${WRKSRC}/tksol
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/tksol ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${MAN6} ${MANPREFIX}/man/man6
-	@${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/*.xbm ${DATADIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/tksol ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/tksol.6 ${STAGEDIR}${MANPREFIX}/man/man6
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/*.xbm ${STAGEDIR}${DATADIR}
 .for dir in cardbacks cards pictures
 	${TAR} -C ${WRKSRC} --exclude ".xvpics" -cf - ${dir} | \
-		${TAR} -C ${DATADIR} --unlink -xf -
+		${TAR} -C ${STAGEDIR}${DATADIR} --unlink -xf -
 .endfor
-	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
 
 .include <bsd.port.mk>

Modified: head/games/tksol/pkg-plist
==============================================================================
--- head/games/tksol/pkg-plist	Mon Nov 11 03:10:27 2013	(r333476)
+++ head/games/tksol/pkg-plist	Mon Nov 11 03:19:37 2013	(r333477)
@@ -1,4 +1,5 @@
 bin/tksol
+man/man6/tksol.6.gz
 %%DATADIR%%/cardbacks/bucky.xbm
 %%DATADIR%%/cardbacks/circles.xbm
 %%DATADIR%%/cardbacks/darts.xbm
@@ -101,4 +102,4 @@ bin/tksol
 @dirrm %%DATADIR%%/pictures
 @dirrm %%DATADIR%%/cards
 @dirrm %%DATADIR%%/cardbacks
-@dirrm %%DATADIR%%/
+@dirrm %%DATADIR%%



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