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
70 lines
1.8 KiB
Makefile
70 lines
1.8 KiB
Makefile
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xdg-menu
|
|
PORTVERSION= 1.5
|
|
PORTREVISION= 3
|
|
CATEGORIES= misc
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} \
|
|
SF/nemysisfreebsdp/${CATEGORIES}/:icons
|
|
DISTFILES= XDG-Menu-${DISTVERSION}.tgz \
|
|
${PORTNAME}.png:icons
|
|
DIST_SUBDIR= python
|
|
EXTRACT_ONLY= XDG-Menu-${DISTVERSION}.tgz
|
|
|
|
MAINTAINER= horia@racoviceanu.com
|
|
COMMENT= ROX panel applet that displays an applications menu button
|
|
|
|
LICENSE= GPLv2
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/rox:${PORTSDIR}/x11-fm/rox-filer \
|
|
${PYTHON_PKGNAMEPREFIX}xdg>=0:${PORTSDIR}/devel/py-xdg \
|
|
${PYTHON_PKGNAMEPREFIX}dbus>=0:${PORTSDIR}/devel/py-dbus
|
|
|
|
WRKSRC= ${WRKDIR}/XDG-Menu
|
|
DATADIR= ${PREFIX}/apps/XDG-Menu
|
|
|
|
USE_PYTHON= yes
|
|
INSTALLS_ICONS= yes
|
|
|
|
PORTDOCS= *
|
|
|
|
DESKTOP_ENTRIES="XDG-Menu" "" ${PORTNAME} \
|
|
"${PORTNAME}" "Application;System;" ""
|
|
|
|
OPTIONS_DEFINE= DOCS ROX
|
|
ROX_DESC= Enable ROX panel applet support
|
|
|
|
SUB_FILES= ${PORTNAME}
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -i '' 's|/usr/lib|../../lib|' ${WRKSRC}/findrox.py
|
|
|
|
.if ! ${PORT_OPTIONS:MROX}
|
|
@${REINPLACE_CMD} -i '' '/if not rox.confirm/,/sys.exit/s/^/#/' \
|
|
${WRKSRC}/AppRun
|
|
@${ECHO_MSG}
|
|
@${ECHO_MSG} "You have not enabled ROX panel applet support"
|
|
@${ECHO_MSG}
|
|
@${FIND} ${WRKSRC} -name "*.bak" -delete
|
|
.endif
|
|
|
|
do-build:
|
|
@${PYTHON_CMD} -m compileall ${WRKSRC}
|
|
@${PYTHON_CMD} -O -m compileall ${WRKSRC}
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
|
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
(cd ${WRKSRC} && ${CP} -r Messages .DirIcon AppInfo.xml AppRun AppletRun \
|
|
Options.xml Messages python *.py *.pyc *.pyo ${STAGEDIR}${DATADIR})
|
|
|
|
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/Help/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|