2013-05-01 16:13:45 +00:00
|
|
|
# Created by: Lin, Cheng-Tao <b89605222@ntu.edu.tw>
|
2007-01-28 05:03:54 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= lxpanel
|
2014-07-24 13:12:35 +00:00
|
|
|
PORTVERSION= 0.6.2
|
2016-01-02 09:03:51 +00:00
|
|
|
PORTREVISION= 1
|
2007-01-28 05:03:54 +00:00
|
|
|
CATEGORIES= x11
|
2013-09-11 12:48:07 +00:00
|
|
|
MASTER_SITES= SF/lxde/LXPanel%20%28desktop%20panel%29/LXPanel%20${PORTVERSION}/
|
2007-01-28 05:03:54 +00:00
|
|
|
|
These ports are no longer used or cared for.
Horia Racoviceanu <horia@racoviceanu.com> wishes to maintain these ports
with my help.
misc/lxde-common
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
misc/xdg-menu
- Change Makefile header, use my name and @FreeBSD.org email
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Change Desktop entry file
- Add DOCS Option
- Break lines around 80 characters
- Change pkg-plist, remove mtree
sysutils/lxinput
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
sysutils/lxtask
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Remove TODO from DOCS
sysutils/lxterminal
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Change pkg-plist, add missing
x11/florence
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Use tar:bzip2 instead of USE_BZIP2=yes and not needed desktop-file-utils
- Remove not needed MAN1 from Makefile
x11/libfm
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Use tar:xz instead of USE_XZ=yes
- Change pkg-plist, remove mtree
x11/lxde-meta
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
x11/lxmenu-data
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Change pkg-plist, remove mtree
x11/lxpanel
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Strip libraries
- Change pkg-plist, add missing
x11/menu-cache
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- USES pathfix instead of USE_GNOME gnomehack
- Strip library
x11-fm/pcmanfm
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Use tar:xz instead of USE_XZ=yes
- Change pkg-plist, remove mtree, add missing
x11-themes/lxde-icon-theme
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Use tar:bzip2 instead of USE_BZIP2=yes
- Change pkg-plist, remove mtree
x11-wm/lxmed
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
x11-wm/lxsession
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Change pkg-plist, add missing
x11-wm/obapps
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Add DOCS Option
- Change Desktop entry file
x11-wm/obmenu
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Change Desktop entry file
- Break lines around 80 characters
2014-04-21 20:27:38 +00:00
|
|
|
MAINTAINER= horia@racoviceanu.com
|
2013-05-01 16:13:45 +00:00
|
|
|
COMMENT= Lightweight X11 desktop panel
|
2007-01-28 05:03:54 +00:00
|
|
|
|
2013-06-20 22:54:24 +00:00
|
|
|
LICENSE= GPLv2 MIT
|
|
|
|
LICENSE_COMB= dual
|
|
|
|
|
2014-07-24 13:12:35 +00:00
|
|
|
LIB_DEPENDS= libmenu-cache.so:${PORTSDIR}/x11/menu-cache \
|
|
|
|
libsysinfo.so:${PORTSDIR}/devel/libsysinfo
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/share/desktop-directories/lxde-audio-video.directory:${PORTSDIR}/x11/lxmenu-data \
|
|
|
|
xmessage:${PORTSDIR}/x11/xmessage
|
2010-09-30 15:21:51 +00:00
|
|
|
|
2014-07-24 13:12:35 +00:00
|
|
|
USE_AUTOTOOLS= automake:env
|
|
|
|
USE_CSTD= gnu89
|
2015-08-02 20:23:55 +00:00
|
|
|
USE_GNOME= gtk20 libwnck intltool
|
2014-07-24 13:12:35 +00:00
|
|
|
USE_XORG= x11 xmu
|
|
|
|
USES= gmake pathfix pkgconfig
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --prefix="${PREFIX}" \
|
|
|
|
--with-plugins=netstatus,volume,volumealsa,deskno,batt,kbled,xkb,thermal,cpu,cpufreq,monitors,wnckpager \
|
|
|
|
--with-x \
|
|
|
|
CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
CFLAGS+= -I${WRKSRC}
|
|
|
|
|
|
|
|
SUB_FILES= pkg-message
|
These ports are no longer used or cared for.
Horia Racoviceanu <horia@racoviceanu.com> wishes to maintain these ports
with my help.
misc/lxde-common
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
misc/xdg-menu
- Change Makefile header, use my name and @FreeBSD.org email
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Change Desktop entry file
- Add DOCS Option
- Break lines around 80 characters
- Change pkg-plist, remove mtree
sysutils/lxinput
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
sysutils/lxtask
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Remove TODO from DOCS
sysutils/lxterminal
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Change pkg-plist, add missing
x11/florence
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Use tar:bzip2 instead of USE_BZIP2=yes and not needed desktop-file-utils
- Remove not needed MAN1 from Makefile
x11/libfm
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Use tar:xz instead of USE_XZ=yes
- Change pkg-plist, remove mtree
x11/lxde-meta
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
x11/lxmenu-data
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Change pkg-plist, remove mtree
x11/lxpanel
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Strip libraries
- Change pkg-plist, add missing
x11/menu-cache
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- USES pathfix instead of USE_GNOME gnomehack
- Strip library
x11-fm/pcmanfm
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Use tar:xz instead of USE_XZ=yes
- Change pkg-plist, remove mtree, add missing
x11-themes/lxde-icon-theme
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Use tar:bzip2 instead of USE_BZIP2=yes
- Change pkg-plist, remove mtree
x11-wm/lxmed
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
x11-wm/lxsession
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Change pkg-plist, add missing
x11-wm/obapps
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Add DOCS Option
- Change Desktop entry file
x11-wm/obmenu
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Change Desktop entry file
- Break lines around 80 characters
2014-04-21 20:27:38 +00:00
|
|
|
PORTDOCS= AUTHORS README
|
2013-12-01 00:16:17 +00:00
|
|
|
|
2014-07-24 13:12:35 +00:00
|
|
|
OPTIONS_DEFINE= ALSA DOCS NLS
|
2013-10-30 20:22:20 +00:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
2014-07-24 13:12:35 +00:00
|
|
|
ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib
|
2013-10-30 20:22:20 +00:00
|
|
|
ALSA_CONFIGURE_ENABLE= alsa
|
2014-07-24 13:12:35 +00:00
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
2013-10-30 20:22:20 +00:00
|
|
|
NLS_USES= gettext
|
2008-06-21 09:44:59 +00:00
|
|
|
|
2013-05-01 16:13:45 +00:00
|
|
|
.include <bsd.port.options.mk>
|
2008-06-21 09:44:59 +00:00
|
|
|
|
2014-07-24 13:12:35 +00:00
|
|
|
.if ${PORT_OPTIONS:MALSA}
|
|
|
|
PLIST_SUB+= VOLUME="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= VOLUME=""
|
|
|
|
.endif
|
|
|
|
|
2013-06-20 22:54:24 +00:00
|
|
|
post-patch:
|
2014-07-24 13:12:35 +00:00
|
|
|
@${REINPLACE_CMD} -e '/g_thread_create/ \
|
|
|
|
s|.*| g_thread_new("tf", (GThreadFunc)thread_func,\
|
|
|
|
thread_data);|' \
|
|
|
|
${WRKSRC}/src/gtk-run.c
|
|
|
|
@${REINPLACE_CMD} -e '/g_thread_init/d' \
|
|
|
|
${WRKSRC}/src/panel.c
|
|
|
|
@${REINPLACE_CMD} -e 's|structure_size :|.structure_size =|; \
|
|
|
|
s|structure_version :|.structure_version =|' \
|
|
|
|
${WRKSRC}/src/plugin.h
|
|
|
|
@${REINPLACE_CMD} -e 's| type *:| .type =|; \
|
|
|
|
s| name *:| .name =|; \
|
|
|
|
s| version *:| .version =|; \
|
|
|
|
s| description *:| .description =|; \
|
|
|
|
s| constructor *:| .constructor =|; \
|
|
|
|
s| destructor *:| .destructor =|; \
|
|
|
|
s| config *:| .config =|; \
|
|
|
|
s| save *:| .save =|; \
|
|
|
|
s| panel_configuration_changed *:| \
|
|
|
|
.panel_configuration_changed =|; \
|
|
|
|
s| fname:| .fname =|; \
|
|
|
|
s| count:| .count =|; \
|
|
|
|
s| expand_available :| .expand_available =|; \
|
|
|
|
s| expand_default :| .expand_default =|; \
|
|
|
|
s| one_per_system :| .one_per_system =|; \
|
|
|
|
s| not_unloadable :| .not_unloadable =|' \
|
|
|
|
${WRKSRC}/src/plugins/batt/batt.c \
|
|
|
|
${WRKSRC}/src/plugins/cpu*/cpu*.c \
|
|
|
|
${WRKSRC}/src/plugins/deskno/deskno.c \
|
|
|
|
${WRKSRC}/src/plugins/kbled/kbled.c \
|
|
|
|
${WRKSRC}/src/plugins/monitors/monitors.c \
|
|
|
|
${WRKSRC}/src/plugins/netstatus/netstatus.c \
|
|
|
|
${WRKSRC}/src/plugins/thermal/thermal.c \
|
|
|
|
${WRKSRC}/src/plugins/wnckpager/wnckpager.c \
|
|
|
|
${WRKSRC}/src/plugins/xkb/xkb-plugin.c \
|
|
|
|
${WRKSRC}/src/plugins/volume*/volume*.c \
|
|
|
|
${WRKSRC}/src/plugins/*.c
|
|
|
|
@${REINPLACE_CMD} -e '/gdk_color_parse(b/ s|;||; \
|
|
|
|
/gdk_color_parse(b/{p;s/.*/ ;/;}' \
|
|
|
|
${WRKSRC}/src/plugins/batt/batt.c
|
|
|
|
@${REINPLACE_CMD} -e 's|/sys|/compat/linux&|' \
|
|
|
|
${WRKSRC}/src/plugins/batt/batt_sys.h
|
|
|
|
@${REINPLACE_CMD} -e 's|/proc|/compat/linux&|' \
|
|
|
|
${WRKSRC}/src/plugins/cpu/cpu.c \
|
|
|
|
${WRKSRC}/src/plugins/monitors/monitors.c \
|
|
|
|
${WRKSRC}/src/plugins/thermal/thermal.c
|
|
|
|
@${REINPLACE_CMD} -e 's|%lld|%lu|g; s|bytes >=|bytes >|' \
|
|
|
|
${WRKSRC}/src/plugins/netstatus/netstatus-dialog.c
|
|
|
|
@${REINPLACE_CMD} -e '/NETSTATUS_ERROR, code/ s|error_message|"%s", &|' \
|
|
|
|
${WRKSRC}/src/plugins/netstatus/netstatus-iface.c
|
|
|
|
@${REINPLACE_CMD} -e '611s/signal_strength)/*&/' \
|
|
|
|
${WRKSRC}/src/plugins/netstatus/netstatus-sysdeps.c
|
2013-12-01 00:16:17 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|linux|sys|' \
|
2007-01-29 04:01:33 +00:00
|
|
|
${WRKSRC}/src/plugins/volume/volume-impl.c
|
2007-01-28 05:03:54 +00:00
|
|
|
|
2013-06-20 22:54:24 +00:00
|
|
|
.if ! ${PORT_OPTIONS:MNLS}
|
2013-12-01 00:16:17 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|po man|man|' \
|
2013-06-20 22:54:24 +00:00
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
2014-07-24 13:12:35 +00:00
|
|
|
.for l in netstatus deskno batt kbled xkb thermal cpu cpufreq monitors wnckpager
|
These ports are no longer used or cared for.
Horia Racoviceanu <horia@racoviceanu.com> wishes to maintain these ports
with my help.
misc/lxde-common
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
misc/xdg-menu
- Change Makefile header, use my name and @FreeBSD.org email
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Change Desktop entry file
- Add DOCS Option
- Break lines around 80 characters
- Change pkg-plist, remove mtree
sysutils/lxinput
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
sysutils/lxtask
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Remove TODO from DOCS
sysutils/lxterminal
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Change pkg-plist, add missing
x11/florence
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Use tar:bzip2 instead of USE_BZIP2=yes and not needed desktop-file-utils
- Remove not needed MAN1 from Makefile
x11/libfm
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Use tar:xz instead of USE_XZ=yes
- Change pkg-plist, remove mtree
x11/lxde-meta
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
x11/lxmenu-data
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Change pkg-plist, remove mtree
x11/lxpanel
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Strip libraries
- Change pkg-plist, add missing
x11/menu-cache
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- USES pathfix instead of USE_GNOME gnomehack
- Strip library
x11-fm/pcmanfm
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Use tar:xz instead of USE_XZ=yes
- Change pkg-plist, remove mtree, add missing
x11-themes/lxde-icon-theme
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Use tar:bzip2 instead of USE_BZIP2=yes
- Change pkg-plist, remove mtree
x11-wm/lxmed
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
x11-wm/lxsession
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Change pkg-plist, add missing
x11-wm/obapps
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Add DOCS Option
- Change Desktop entry file
x11-wm/obmenu
- Bump PORTREVISION
- Pass maintainership to horia@racoviceanu.com
- Change Desktop entry file
- Break lines around 80 characters
2014-04-21 20:27:38 +00:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lxpanel/plugins/${l}.so
|
|
|
|
.endfor
|
|
|
|
|
2014-07-24 13:12:35 +00:00
|
|
|
.if ${PORT_OPTIONS:MALSA}
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lxpanel/plugins/volumealsa.so
|
|
|
|
.else
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lxpanel/plugins/volume.so
|
|
|
|
.endif
|
|
|
|
|
2013-09-23 22:03:16 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
2013-06-20 22:54:24 +00:00
|
|
|
|
2013-05-01 16:13:45 +00:00
|
|
|
.include <bsd.port.mk>
|