blob: 529474d96edd2abea9392c8d378813d524690e94 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Created by: Olivier Cochard-Labbe <olivier@FreeBSD.org>
# $FreeBSD$
PORTNAME= wbarconf
PORTVERSION= 0.7.2.2
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://koti.kapsi.fi/ighea/wbarconf/
MAINTAINER= olivier@FreeBSD.org
COMMENT= Configuration GUI for wbar
LICENSE= GPLv3
RUN_DEPENDS= wbar:x11/wbar
USE_GNOME= pygobject pygtk2 gtk20
USES= gettext desktop-file-utils python:2.7 shebangfix
SHEBANG_FILES= ${WRKSRC}/wbarconf
python_OLD_CMD= "/usr/bin/env python2"
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= README COPYING
INSTALLS_ICONS= yes
OPTIONS_DEFINE= DOCS
do-install:
${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>
|