mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
a5f9cc91c2
x11-fonts/, x11-toolkits and x11-wm to new USES=python Approved by: portmgr (implicit)
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# Created by: Olivier Cochard-Labbe <olivier@cochard.me>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= wbarconf
|
|
PORTVERSION= 0.7.2.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11
|
|
MASTER_SITES= http://koti.kapsi.fi/ighea/wbarconf/
|
|
|
|
MAINTAINER= olivier@cochard.me
|
|
COMMENT= Configuration GUI for wbar
|
|
|
|
LICENSE= GPLv3
|
|
|
|
RUN_DEPENDS= wbar:${PORTSDIR}/x11/wbar
|
|
|
|
USE_GNOME= pygobject pygtk2 gtk20
|
|
USES= gettext desktop-file-utils python 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
|
|
|
|
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>
|