Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Oct 2011 03:00:06 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/161594: Update port: x11/wmbutton
Message-ID:  <20111015030006.ce8e76d6.tkato432@yahoo.com>
Resent-Message-ID: <201110141850.p9EIo78G050950@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         161594
>Category:       ports
>Synopsis:       Update port: x11/wmbutton
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 14 18:50:06 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Add LICENSE
- Support PORTDOCS/PORTEXAMPLES/PLIST_FILES

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/x11/wmbutton/Makefile x11/wmbutton/Makefile
--- /usr/ports/x11/wmbutton/Makefile	2008-04-20 10:21:50.000000000 +0900
+++ x11/wmbutton/Makefile	2011-10-14 02:46:34.000000000 +0900
@@ -9,15 +9,22 @@
 PORTVERSION=	0.6.1
 PORTREVISION=	2
 CATEGORIES=	x11 windowmaker
-MASTER_SITES=	http://greek0.net/~greek0/wmbutton/
+MASTER_SITES=	http://greek0.net/wmbutton/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A dockapp that displays 9 buttons to run apps of your choice
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 USE_XORG=	xpm
 
 SUB_FILES=	pkg-message
 
+PORTDOCS=	README
+PORTEXAMPLES=	dot.wmbutton
+PLIST_FILES=	bin/wmbutton
+
 do-build:
 	cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} \
 		-I${LOCALBASE}/include/X11 -I${LOCALBASE}/include \
@@ -26,12 +33,14 @@
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/wmbutton ${PREFIX}/bin/wmbutton
-	@${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/.wmbutton ${EXAMPLESDIR}/dot.wmbutton
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
 .endif
+.if !defined(NOPORTEXAMPLES)
+	@${MKDIR} ${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/.wmbutton ${EXAMPLESDIR}/dot.wmbutton
+.endif
 	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
diff -urN /usr/ports/x11/wmbutton/pkg-descr x11/wmbutton/pkg-descr
--- /usr/ports/x11/wmbutton/pkg-descr	2009-12-21 16:00:42.000000000 +0900
+++ x11/wmbutton/pkg-descr	2011-09-12 01:22:02.000000000 +0900
@@ -4,4 +4,4 @@
 type it in a shell command, wmbutton can run it.  It is based on wmcp,
 by Ben Cohen.
 
-WWW: http://greek0.net/~greek0/wmbutton/
+WWW: http://greek0.net/wmbutton.html
diff -urN /usr/ports/x11/wmbutton/pkg-plist x11/wmbutton/pkg-plist
--- /usr/ports/x11/wmbutton/pkg-plist	2005-09-10 13:38:21.000000000 +0900
+++ x11/wmbutton/pkg-plist	1970-01-01 09:00:00.000000000 +0900
@@ -1,5 +0,0 @@
-bin/wmbutton
-%%EXAMPLESDIR%%/dot.wmbutton
-%%PORTDOCS%%%%DOCSDIR%%/README
-@dirrm %%EXAMPLESDIR%%
-@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



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