2013-03-08 09:10:13 +00:00
|
|
|
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
2012-05-17 09:46:29 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= bmpanel2
|
|
|
|
DISTVERSION= 2.1pre1
|
2015-03-09 00:58:36 +00:00
|
|
|
PORTREVISION= 2
|
2012-05-17 09:46:29 +00:00
|
|
|
CATEGORIES= x11
|
|
|
|
MASTER_SITES= GOOGLE_CODE
|
2015-03-09 00:58:36 +00:00
|
|
|
PATCH_SITES= LOCAL/danfe
|
2012-05-17 09:46:29 +00:00
|
|
|
|
2015-04-07 13:21:09 +00:00
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
2014-02-26 14:20:05 +00:00
|
|
|
COMMENT= Lightweight NetWM-compliant panel (taskbar) for X11
|
2012-05-17 09:46:29 +00:00
|
|
|
|
|
|
|
LICENSE= MIT
|
2015-03-09 00:58:36 +00:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2012-05-17 09:46:29 +00:00
|
|
|
|
2013-09-09 18:54:28 +00:00
|
|
|
USES= cmake pkgconfig
|
2012-05-17 09:46:29 +00:00
|
|
|
USE_GNOME= pango
|
|
|
|
USE_XORG= x11 xext
|
|
|
|
|
2014-02-26 14:20:05 +00:00
|
|
|
OPTIONS_DEFINE= OPACITY TEMPERATURE
|
|
|
|
OPACITY_DESC= Opacity setting with compositing window managers
|
2013-03-08 09:10:13 +00:00
|
|
|
TEMPERATURE_DESC= Build with temperature widget (for CPU, etc.)
|
|
|
|
|
2014-02-26 14:20:05 +00:00
|
|
|
OPACITY_PATCHFILES= ${PORTNAME}-opacity-setting.diff
|
|
|
|
TEMPERATURE_PATCHFILES= ${PORTNAME}-temperature-widget.diff
|
2013-03-08 09:10:13 +00:00
|
|
|
|
2012-05-17 09:46:29 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' ${WRKSRC}/xdg.c
|
|
|
|
@${REINPLACE_CMD} -e '/^#include/s,alloca,stdlib,' \
|
|
|
|
${WRKSRC}/widget-utils.c
|
|
|
|
@${REINPLACE_CMD} -e 's,uint,unsigned,' ${WRKSRC}/args.c
|
|
|
|
# Disable unused optional features (and thus unbreak "make clean")
|
|
|
|
@${REINPLACE_CMD} -e '/^OPTION/s, ON, OFF,' ${WRKSRC}/CMakeLists.txt
|
2013-03-08 09:10:13 +00:00
|
|
|
@${RM} -f ${WRKSRC}/themes/striped/theme.orig
|
2012-05-17 09:46:29 +00:00
|
|
|
|
2015-03-09 00:58:36 +00:00
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/bmpanel2
|
|
|
|
|
2012-05-17 09:46:29 +00:00
|
|
|
.include <bsd.port.mk>
|