ports/161594: Update port: x11/wmbutton
KATO Tsuguru
tkato432 at yahoo.com
Fri Oct 14 18:50:07 UTC 2011
>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 at 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
- at dirrm %%EXAMPLESDIR%%
- at dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list