aboutsummaryrefslogtreecommitdiffstats
path: root/french
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2014-04-10 04:47:32 +0800
committerthierry <thierry@FreeBSD.org>2014-04-10 04:47:32 +0800
commitd40638372e7ec47665f1a612799353bbcb839940 (patch)
tree53ff4393ccc7c88a6960ebb982ba4f4dc04bfcb4 /french
parent372ddffe9f9f15930bded3d604594fa9e83812c3 (diff)
downloadfreebsd-ports-gnome-d40638372e7ec47665f1a612799353bbcb839940.tar.gz
freebsd-ports-gnome-d40638372e7ec47665f1a612799353bbcb839940.tar.zst
freebsd-ports-gnome-d40638372e7ec47665f1a612799353bbcb839940.zip
- Support staging;
- Use the new infrastucture; - Fix dependency on www/py-mechanize.
Diffstat (limited to 'french')
-rw-r--r--french/tvdownloader/Makefile14
-rw-r--r--french/tvdownloader/pkg-plist2
2 files changed, 6 insertions, 10 deletions
diff --git a/french/tvdownloader/Makefile b/french/tvdownloader/Makefile
index 5e0e207513f8..3d407ce9e8a3 100644
--- a/french/tvdownloader/Makefile
+++ b/french/tvdownloader/Makefile
@@ -11,26 +11,22 @@ MASTER_SITE_SUBDIR=
MAINTAINER= thierry@FreeBSD.org
COMMENT= Download podcasts and videos from French websites
+LICENSE= GPLv2
+
RUN_DEPENDS= msdl:${PORTSDIR}/multimedia/msdl \
rtmpdump:${PORTSDIR}/multimedia/rtmpdump \
${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui \
${PYTHON_SITELIBDIR}/Crypto/__init__.py:${PORTSDIR}/security/py-pycrypto\
- ${PYTHON_SITELIBDIR}/${MECHA_EGG}:${PORTSDIR}/www/py-mechanize
+ ${PYTHON_SITELIBDIR}/mechanize/_mechanize.py:${PORTSDIR}/www/py-mechanize
MECHA_VER= 0.2.5
MECHA_EGG= mechanize-${MECHA_VER}-${PYTHON_VERSION:S/thon//}${PYEASYINSTALL_OSARCH}.egg
USE_PYTHON= yes
+USES= shebangfix
+SHEBANG_FILES= Makefile src/Makefile doc/installdox
ALL_TARGET= build
-LICENSE= GPLv2
-
-NO_STAGE= yes
-post-patch:
- ${REINPLACE_CMD} -e 's|@python|@${PYTHON_CMD}|' \
- ${WRKSRC}/Makefile \
- ${WRKSRC}/src/Makefile
-
pre-configure:
${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \
${WRKSRC}/tvdownloader.sh
diff --git a/french/tvdownloader/pkg-plist b/french/tvdownloader/pkg-plist
index 3f27d50df07a..5ce8d1007949 100644
--- a/french/tvdownloader/pkg-plist
+++ b/french/tvdownloader/pkg-plist
@@ -1,6 +1,5 @@
bin/tvdownloader
share/applications/tvdownload.desktop
-share/pixmaps/tvdownloader.png
%%PORTDOCS%%%%DOCSDIR%%/annotated.html
%%PORTDOCS%%%%DOCSDIR%%/bc_s.png
%%PORTDOCS%%%%DOCSDIR%%/classAPI_1_1API-members.html
@@ -70,6 +69,7 @@ share/pixmaps/tvdownloader.png
%%PORTDOCS%%%%DOCSDIR%%/tab_h.png
%%PORTDOCS%%%%DOCSDIR%%/tab_s.png
%%PORTDOCS%%%%DOCSDIR%%/tabs.css
+share/pixmaps/tvdownloader.png
%%DATADIR%%/API.py
%%DATADIR%%/API.pyc
%%DATADIR%%/APIPrive.py