mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
c2ffee1041
- Use upstream desktop file - Update pkg-descr and COMMENT - Trim Makefile header
30 lines
978 B
Makefile
30 lines
978 B
Makefile
# Created by: Lars Engels <lars.engels@0x20.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tvbrowser
|
|
PORTVERSION= 3.3
|
|
CATEGORIES= misc java
|
|
MASTER_SITES= SF/${PORTNAME}/TV-Browser%20Releases%20%28Java%206%20and%20higher%29/${PORTVERSION}/
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}_bin
|
|
|
|
MAINTAINER= lme@FreeBSD.org
|
|
COMMENT= Digital TV and radio guide
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
USE_LDCONFIG= yes
|
|
NO_BUILD= yes
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.6+
|
|
SUB_FILES= tvbrowser
|
|
|
|
do-install:
|
|
@${MKDIR} ${PREFIX}/share/applications/
|
|
@${REINPLACE_CMD} -e "s/${PORTNAME}\.sh/${PORTNAME}/" ${WRKSRC}/${PORTNAME}.desktop
|
|
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications/
|
|
@${RM} ${WRKSRC}/${PORTNAME}.desktop ${WRKSRC}/${PORTNAME}.desktop.bak
|
|
@cd ${WRKSRC} && ${FIND} . -type d -exec ${MKDIR} "${DATADIR}/{}" \;
|
|
@cd ${WRKSRC} && ${FIND} . -type f -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/tvbrowser ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|