blob: 297f6bc37ee7e4e1554e673bebd55b5be1eaa3ad (
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
|
# Created by: Olivier Cochard-Labbe <olivier@cochard.me>
# $FreeBSD$
PORTNAME= wbarconf
PORTVERSION= 0.7.2.2
CATEGORIES= x11
MASTER_SITES= http://koti.kapsi.fi/ighea/wbarconf/
DISTNAME= wbarconf-${PORTVERSION}
MAINTAINER= olivier@cochard.me
COMMENT= Configuration GUI for wbar
RUN_DEPENDS= wbar:${PORTSDIR}/x11/wbar
USE_GNOME= pygobject pygtk2 gtk20
USE_PYTHON= 2.5+
USES= gettext
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= README COPYING
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
${MKDIR} ${PREFIX}/share/applications
${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
.include <bsd.port.mk>
|