diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2006-01-26 03:34:23 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2006-01-26 03:34:23 +0000 |
commit | d1d5fd15064761a37939d96f4dc09b7805915e3e (patch) | |
tree | 5fb5c7d2f5aecfee18ba1b4078ee0131206ab4b5 /german | |
parent | 3e04cedb8e0fcd85056fb85f2841ef354b7bfc0a (diff) | |
download | ports-d1d5fd15064761a37939d96f4dc09b7805915e3e.tar.gz ports-d1d5fd15064761a37939d96f4dc09b7805915e3e.zip |
Notes
Diffstat (limited to 'german')
-rw-r--r-- | german/tvbrowser/Makefile | 17 | ||||
-rw-r--r-- | german/tvbrowser/files/tvbrowser | 3 | ||||
-rw-r--r-- | german/tvbrowser/files/tvbrowser.in | 2 |
3 files changed, 15 insertions, 7 deletions
diff --git a/german/tvbrowser/Makefile b/german/tvbrowser/Makefile index 52329d08f418..f042e6dd8214 100644 --- a/german/tvbrowser/Makefile +++ b/german/tvbrowser/Makefile @@ -7,6 +7,7 @@ PORTNAME= tvbrowser PORTVERSION= 2.1 +PORTREVISION= 1 CATEGORIES= german java MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} MASTER_SITE_SUBDIR= tvbrowser @@ -14,14 +15,22 @@ MASTER_SITE_SUBDIR= tvbrowser MAINTAINER= lars.engels@0x20.net COMMENT= A digital tv guide +USE_X_PREFIX= yes NO_BUILD= yes USE_JAVA= yes JAVA_VERSION= 1.4+ +SUB_FILES= tvbrowser + +DESKTOP_ENTRIES="TV-Browser" \ + "Browse TV programs" \ + "${DATADIR}/imgs/tvbrowser128.png" \ + "tvbrowser" \ + "Application;TV;" \ + false do-install: - @${MKDIR} ${PREFIX}/share/${PORTNAME} - @${CP} -r ${WRKSRC}/* ${PREFIX}/share/${PORTNAME} - @${CP} -r ${FILESDIR}/tvbrowser /${PREFIX}/bin/ - @${CHMOD} 755 /${PREFIX}/bin/tvbrowser + 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> diff --git a/german/tvbrowser/files/tvbrowser b/german/tvbrowser/files/tvbrowser deleted file mode 100644 index 2def45ed6f28..000000000000 --- a/german/tvbrowser/files/tvbrowser +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -cd /usr/local/share/tvbrowser && java -jar tvbrowser.jar diff --git a/german/tvbrowser/files/tvbrowser.in b/german/tvbrowser/files/tvbrowser.in new file mode 100644 index 000000000000..6c2ee8422fea --- /dev/null +++ b/german/tvbrowser/files/tvbrowser.in @@ -0,0 +1,2 @@ +#!/bin/sh +cd %%DATADIR%% && exec %%LOCALBASE%%/bin/java -jar tvbrowser.jar "$@" |