diff options
author | jgh <jgh@FreeBSD.org> | 2014-01-31 07:26:26 +0800 |
---|---|---|
committer | jgh <jgh@FreeBSD.org> | 2014-01-31 07:26:26 +0800 |
commit | 0bc5226705dea86ff7c65d5cf2628d36fb9a686b (patch) | |
tree | 41e5ced32ad3043e1f8f2b0d88b3b554df15a14f /x11/wbarconf | |
parent | 6414b07c72cb7bc8ceb0e8eb5faba25af257226a (diff) | |
download | freebsd-ports-gnome-0bc5226705dea86ff7c65d5cf2628d36fb9a686b.tar.gz freebsd-ports-gnome-0bc5226705dea86ff7c65d5cf2628d36fb9a686b.tar.zst freebsd-ports-gnome-0bc5226705dea86ff7c65d5cf2628d36fb9a686b.zip |
- support staging
- add license
- while here remove patch and shift to uses framework [2]
PR: 186145
Submitted by: olivier@cochard.me (maintainer)
Approved by: maintainer [2]
Diffstat (limited to 'x11/wbarconf')
-rw-r--r-- | x11/wbarconf/Makefile | 33 | ||||
-rw-r--r-- | x11/wbarconf/files/patch-wbarconf.py | 8 | ||||
-rw-r--r-- | x11/wbarconf/pkg-descr | 2 |
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/ |