aboutsummaryrefslogtreecommitdiff
path: root/x11/wmbutton
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2011-10-18 13:07:36 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2011-10-18 13:07:36 +0000
commitc7bd422d2706b0ff4993f5691a3bb33784baa3c6 (patch)
tree45e1154000f13d88c1c4e57f2739406545bf3b38 /x11/wmbutton
parentad3e1877b6f4ffeca92013077aea41eaa2c094e2 (diff)
downloadports-c7bd422d2706b0ff4993f5691a3bb33784baa3c6.tar.gz
ports-c7bd422d2706b0ff4993f5691a3bb33784baa3c6.zip
Notes
Diffstat (limited to 'x11/wmbutton')
-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%%