aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2014-01-30 23:26:26 +0000
committerJason Helfman <jgh@FreeBSD.org>2014-01-30 23:26:26 +0000
commitaa704e0680c202cb01c513683cfbd22a26180a27 (patch)
tree41e5ced32ad3043e1f8f2b0d88b3b554df15a14f
parent4d2966869ff5c1a5b9514bc5008aa069af5e7245 (diff)
downloadports-aa704e0680c202cb01c513683cfbd22a26180a27.tar.gz
ports-aa704e0680c202cb01c513683cfbd22a26180a27.zip
Notes
-rw-r--r--x11/wbarconf/Makefile33
-rw-r--r--x11/wbarconf/files/patch-wbarconf.py8
-rw-r--r--x11/wbarconf/pkg-descr2
3 files changed, 19 insertions, 24 deletions
diff --git a/x11/wbarconf/Makefile b/x11/wbarconf/Makefile
index 36bc71ffdb78..d640802dde32 100644
--- a/x11/wbarconf/Makefile
+++ b/x11/wbarconf/Makefile
@@ -3,35 +3,38 @@
PORTNAME= wbarconf
PORTVERSION= 0.7.2.2
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://koti.kapsi.fi/ighea/wbarconf/
-DISTNAME= wbarconf-${PORTVERSION}
MAINTAINER= olivier@cochard.me
COMMENT= Configuration GUI for wbar
+LICENSE= GPLv3
+
RUN_DEPENDS= wbar:${PORTSDIR}/x11/wbar
USE_GNOME= pygobject pygtk2 gtk20
USE_PYTHON= yes
-USES= gettext
+USES= gettext desktop-file-utils shebangfix
+SHEBANG_LANG= python
+SHEBANG_FILES= ${WRKSRC}/wbarconf
+python_OLD_CMD= /usr/bin/env python2
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= README COPYING
+INSTALLS_ICONS= yes
-NO_STAGE= yes
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${MKDIR} ${DATADIR}
- ${MKDIR} ${DATADIR}/wbarbacks
- (cd ${WRKSRC}/wbarbacks/ && ${COPYTREE_SHARE} \* ${DATADIR}/wbarbacks/)
- ${INSTALL_DATA} ${WRKSRC}/messages.pot ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/wbarconf.png ${PREFIX}/share/pixmaps
- ${INSTALL_DATA} ${WRKSRC}/wbarconf.desktop ${PREFIX}/share/applications
- (cd ${WRKSRC}/locale/ && ${COPYTREE_SHARE} \* ${PREFIX}/share/locale/)
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${MKDIR} ${STAGEDIR}${DATADIR}/wbarbacks
+ (cd ${WRKSRC}/wbarbacks/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/wbarbacks/)
+ ${INSTALL_DATA} ${WRKSRC}/messages.pot ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/wbarconf.png ${STAGEDIR}${PREFIX}/share/pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/wbarconf.desktop ${STAGEDIR}${PREFIX}/share/applications
+ (cd ${WRKSRC}/locale/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/share/locale/)
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/x11/wbarconf/files/patch-wbarconf.py b/x11/wbarconf/files/patch-wbarconf.py
deleted file mode 100644
index fafadb41825e..000000000000
--- a/x11/wbarconf/files/patch-wbarconf.py
+++ /dev/null
@@ -1,8 +0,0 @@
---- wbarconf.orig 2010-10-20 17:27:09.000000000 +0200
-+++ wbarconf 2011-11-04 15:31:00.000000000 +0100
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python2
-+#!/usr/bin/env python
- # coding= UTF-8
- #
- # wbar configuration gui v0.7.2.1
diff --git a/x11/wbarconf/pkg-descr b/x11/wbarconf/pkg-descr
index 30ef0a674308..cb43bbc67a67 100644
--- a/x11/wbarconf/pkg-descr
+++ b/x11/wbarconf/pkg-descr
@@ -1,3 +1,3 @@
wbarconf is graphical configuration utility for wbar written in Python/GTK
-WWW: http://koti.kapsi.fi/ighea/wbarconf/
+WWW: http://koti.kapsi.fi/ighea/wbarconf/