Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 2013 16:41:34 +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: r336004 - in head/misc/wmScoreBoard: . files
Message-ID:  <201312091641.rB9GfYU6090174@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Mon Dec  9 16:41:34 2013
New Revision: 336004
URL: http://svnweb.freebsd.org/changeset/ports/336004

Log:
  - Add LICENSE
  - Convert USE_GMAKE to USES
  - Add shebangfix to USES
  - Add stage support
  - Improve the patch name
  - Improve pkg-plist

Added:
     - copied unchanged from r335974, head/misc/wmScoreBoard/files/patch-wmScoreBoard::Makefile
Directory Properties:
  head/misc/wmScoreBoard/files/patch-Makefile   (props changed)
Deleted:
  head/misc/wmScoreBoard/files/patch-wmScoreBoard::Makefile
Modified:
  head/misc/wmScoreBoard/Makefile   (contents, props changed)
  head/misc/wmScoreBoard/pkg-plist   (contents, props changed)

Modified: head/misc/wmScoreBoard/Makefile
==============================================================================
--- head/misc/wmScoreBoard/Makefile	Mon Dec  9 16:20:43 2013	(r336003)
+++ head/misc/wmScoreBoard/Makefile	Mon Dec  9 16:41:34 2013	(r336004)
@@ -11,21 +11,21 @@ MASTER_SITE_SUBDIR=	pat
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Window Maker dockapp that display game scores from excite
 
+LICENSE=	GPLv2
+
 RUN_DEPENDS=	wget:${PORTSDIR}/ftp/wget
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
-USE_GMAKE=	yes
 USE_XORG=	xpm
+USES=		gmake shebangfix
+SHEBANG_FILES=	GrabScores.excite
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/wmScoreBoard ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/GrabScores.excite ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for docs in BUGS CHANGES HINTS README
-	@${INSTALL_DATA} ${WRKSRC}/../${docs} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/../${docs} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>

Copied: head/misc/wmScoreBoard/files/patch-Makefile (from r335974, head/misc/wmScoreBoard/files/patch-wmScoreBoard::Makefile)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/wmScoreBoard/files/patch-Makefile	Mon Dec  9 16:41:34 2013	(r336004, copy of r335974, head/misc/wmScoreBoard/files/patch-wmScoreBoard::Makefile)
@@ -0,0 +1,17 @@
+--- Makefile.orig	Sat Apr  8 00:51:27 2000
++++ Makefile	Mon Jul  2 21:51:07 2001
+@@ -1,10 +1,9 @@
+ # Makefile for wmScoreBoard
+ 
+-CC      = gcc
+-CFLAGS  = -g -O2 -Wall
+-INCDIR  = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
+-LIBDIR  = -L/usr/X11R6/lib
+-DESTDIR = /usr/X11R6
++CFLAGS  += -g -Wall
++INCDIR  = -I${LOCALBASE}/include/X11 -I${LOCALBASE}/include
++LIBDIR  = -L${LOCALBASE}/lib
++DESTDIR = $(PREFIX)
+ 
+ # for linux
+ LIBS = -lXpm -lX11 -lXext

Modified: head/misc/wmScoreBoard/pkg-plist
==============================================================================
--- head/misc/wmScoreBoard/pkg-plist	Mon Dec  9 16:20:43 2013	(r336003)
+++ head/misc/wmScoreBoard/pkg-plist	Mon Dec  9 16:41:34 2013	(r336004)
@@ -1,7 +1,7 @@
 bin/GrabScores.excite
 bin/wmScoreBoard
-%%PORTDOCS%%share/doc/wmScoreBoard/BUGS
-%%PORTDOCS%%share/doc/wmScoreBoard/CHANGES
-%%PORTDOCS%%share/doc/wmScoreBoard/HINTS
-%%PORTDOCS%%share/doc/wmScoreBoard/README
-%%PORTDOCS%%@dirrm share/doc/wmScoreBoard
+%%PORTDOCS%%%%DOCSDIR%%/BUGS
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/HINTS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%



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