aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2011-10-18 21:07:36 +0800
committerehaupt <ehaupt@FreeBSD.org>2011-10-18 21:07:36 +0800
commit03a342cc2b6cd58f957f260ef523214d231d851f (patch)
treeaf4f585b3ab01b3f58e671d76180802df48e5995 /x11
parenta652b118bbcc4654ed21c5530aaaa5de0d6c796e (diff)
downloadfreebsd-ports-gnome-03a342cc2b6cd58f957f260ef523214d231d851f.tar.gz
freebsd-ports-gnome-03a342cc2b6cd58f957f260ef523214d231d851f.tar.zst
freebsd-ports-gnome-03a342cc2b6cd58f957f260ef523214d231d851f.zip
- Update MASTER_SITES and WWW
- Add LICENSE PR: 161594 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'x11')
-rw-r--r--x11/wmbutton/Makefile14
-rw-r--r--x11/wmbutton/pkg-descr2
-rw-r--r--x11/wmbutton/pkg-plist5
3 files changed, 12 insertions, 9 deletions
diff --git a/x11/wmbutton/Makefile b/x11/wmbutton/Makefile
index 7bcce6f9c4af..a29cdb1a182a 100644
--- a/x11/wmbutton/Makefile
+++ b/x11/wmbutton/Makefile
@@ -9,15 +9,21 @@ PORTNAME= wmbutton
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
+
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 +32,14 @@ do-build:
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 --git a/x11/wmbutton/pkg-descr b/x11/wmbutton/pkg-descr
index 9d80b730578c..a7f019775e23 100644
--- a/x11/wmbutton/pkg-descr
+++ b/x11/wmbutton/pkg-descr
@@ -4,4 +4,4 @@ run just about any application you'd like to. Basically, if you can
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 --git a/x11/wmbutton/pkg-plist b/x11/wmbutton/pkg-plist
deleted file mode 100644
index 4d1831854c52..000000000000
--- a/x11/wmbutton/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/wmbutton
-%%EXAMPLESDIR%%/dot.wmbutton
-%%PORTDOCS%%%%DOCSDIR%%/README
-@dirrm %%EXAMPLESDIR%%
-@dirrm %%DOCSDIR%%