1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/x11-wm/lxmed/Makefile
Raphael Kubo da Costa f8a65e4c1b Reset ports maintained by horia@racoviceanu.com.
The last change submitted or approved by Horia in Bugzilla dates back to
September 2015. Since then, all commits to his ports were landed by others
after the maintainer timeout period expired (see r383744, r405055, r405057,
r400461 and r414655, for example).

Horia did show interest in coming back after I sent a private email a few
months ago, but since nothing has changed it is better to reassign his ports
back to the heap.

Differential Revision:	https://reviews.freebsd.org/D5980
2016-06-28 09:11:31 +00:00

54 lines
1.4 KiB
Makefile

# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= lxmed
PORTVERSION= 20120515
PORTREVISION= 2
CATEGORIES= x11-wm java
MASTER_SITES= SF/${PORTNAME}/
DIST_SUBDIR= java
MAINTAINER= ports@FreeBSD.org
COMMENT= LXDE Main Menu Editor
LICENSE= GPLv3
RUN_DEPENDS= gksu:sysutils/gksu
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
SUB_FILES= ${PORTNAME}.sh ${PORTNAME}-root
post-extract:
@(cd ${WRKSRC}/content/ && ${CP} -a ${PORTNAME}.desktop \
${PORTNAME}-root.desktop)
post-patch:
@${REINPLACE_CMD} -e 's|/opt/lxmed/${PORTNAME}.png|${PORTNAME}|; \
s|Main Menu Editor|${COMMENT}|' \
${WRKSRC}/content/${PORTNAME}.desktop
@${REINPLACE_CMD} -e 's|/opt/lxmed/${PORTNAME}.png|${PORTNAME}|; \
s|Exec=lxmed|Exec=${PORTNAME}-root ${PORTNAME}|; \
s|Main Menu Editor|${COMMENT} (as root)|' \
${WRKSRC}/content/${PORTNAME}-root.desktop
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-root \
${STAGEDIR}${PREFIX}/bin/
@${MKDIR} ${STAGEDIR}${DATADIR}
${CP} -a ${FILESDIR}/pc-su ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/content/LXMenuEditor.jar ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/content/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
${INSTALL_DATA} ${WRKSRC}/content/*.desktop ${STAGEDIR}${DESKTOPDIR}
.include <bsd.port.mk>