mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
d1288b3526
PR: ports/162336 Submitted by: Olivier Cochard-Labbe <olivier _AT_ cochard.me> (maintainer)
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# New ports collection makefile for: wbarconf
|
|
# Date created: 21 may 2009
|
|
# Whom: Olivier Cochard-Labbe <olivier@cochard.me>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= wbarconf
|
|
PORTVERSION= 0.7.2.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11
|
|
MASTER_SITES= http://www.ihku.biz/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+
|
|
USE_GETTEXT= yes
|
|
NO_BUILD= yes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
PORTDOCS= README COPYING
|
|
USE_GETTEXT= 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>
|