3a759a9883
And USES=tar:bzip2 here and there. deskutils/xfce4-notification-daemon: - Don't patch Makefile.am. - Link with -lgmodule-2.0 explicitly now that libgtk-x11-2.0.la does not imply it. x11/xfce4-wmdock-plugin: - Make it fetchable.
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xfce4-generic-slider
|
|
PORTVERSION= 0.0.20100827
|
|
PORTREVISION= 5
|
|
CATEGORIES= deskutils
|
|
MASTER_SITES= CRITICAL/
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= Slider plugin to adjust and/or monitor any numeric variable
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USES= pkgconfig
|
|
USE_XFCE= panel libutil libgui
|
|
|
|
CFLAGS+= `pkg-config --cflags libxfce4panel-1.0 libxfcegui4-1.0`
|
|
LDFLAGS+= `pkg-config --libs libxfce4panel-1.0 libxfcegui4-1.0`
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
"s|@PLUGINDIR@|${PREFIX}/lib/xfce4/xfce4/panel-plugins|" \
|
|
${WRKSRC}/generic-slider.desktop
|
|
|
|
do-build:
|
|
${CC} ${CFLAGS} -c ${WRKSRC}/generic-slider.c \
|
|
-o ${WRKSRC}/generic-slider.o
|
|
${CC} ${LDFLAGS} ${WRKSRC}/generic-slider.o \
|
|
-o ${WRKSRC}/xfce4-generic-slider-plugin
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/xfce4/panel-plugins
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/xfce4/xfce4/panel-plugins
|
|
${INSTALL_DATA} ${WRKSRC}/generic-slider.desktop \
|
|
${STAGEDIR}${PREFIX}/share/xfce4/panel-plugins
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xfce4-generic-slider-plugin \
|
|
${STAGEDIR}${PREFIX}/lib/xfce4/xfce4/panel-plugins
|
|
|
|
.include <bsd.port.mk>
|