ports/190255: [PATCH] multimedia/py-periscope: Added STAGE Support, take maintainership
Muhammad Moinur Rahman
5u623l20 at gmail.com
Mon May 26 10:10:00 UTC 2014
>Number: 190255
>Category: ports
>Synopsis: [PATCH] multimedia/py-periscope: Added STAGE Support, take maintainership
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon May 26 10:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Muhammad Moinur Rahman
>Release: FreeBSD 11.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD bofh.1asiacom.net 11.0-CURRENT FreeBSD 11.0-CURRENT #2 r265972: Wed May 14 02:05:04 BDT
>Description:
- Added STAGE Support
- Take maintainership
Generated with FreeBSD Port Tools 1.02 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:
--- py-periscope-0.2.4.patch begins here ---
diff -ruN /usr/ports//multimedia/py-periscope/Makefile ./Makefile
--- /usr/ports//multimedia/py-periscope/Makefile 2014-02-14 22:51:44.000000000 +0600
+++ ./Makefile 2014-05-26 15:33:40.075057585 +0600
@@ -3,7 +3,7 @@
PORTNAME= periscope
PORTVERSION= 0.2.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= multimedia python
MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +12,7 @@
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= python-${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= 5u623l20 at gmail.com
COMMENT= Subtitles searching module
LICENSE= LGPL3
@@ -20,32 +20,28 @@
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/BeautifulSoup.py:${PORTSDIR}/www/py-beautifulsoup32
BUILD_DEPENDS:= ${RUN_DEPENDS}
-USE_GNOME= desktopfileutils
+USES=desktop-file-utils
USE_PYTHON= yes
-USE_PYDISTUTILS= easy_install
+USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
NO_WRKSUBDIR= yes
-USES= desktop-file-utils
OPTIONS_DEFINE= UNRAR
UNRAR_DESC= rar support (.rar) for compressed subtitles
+UNRAR_RUN_DEPENDS= unrar:${PORTSDIR}/archivers/unrar
OPTIONS_DEFAULT= UNRAR
PLIST_SUB= DESKTOPDIR=${DESKTOPDIR_WITHOUT_PREFIX:Q}
+PLIST_FILES= %%DESKTOPDIR%%/periscope.desktop
DESKTOPDIR_WITHOUT_PREFIX= ${DESKTOPDIR:S,^${PREFIX}/,,}
-NO_STAGE= yes
post-install:
- @${MKDIR} ${DESKTOPDIR}
+ @${MKDIR} ${STAGEDIR}${DESKTOPDIR}
@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/periscope.desktop \
- ${DESKTOPDIR}
+ ${STAGEDIR}${DESKTOPDIR}
-.include <bsd.port.options.mk>
-.include <bsd.port.pre.mk>
+#.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MUNRAR}
-RUN_DEPENDS+= unrar:${PORTSDIR}/archivers/unrar
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN /usr/ports//multimedia/py-periscope/pkg-plist ./pkg-plist
--- /usr/ports//multimedia/py-periscope/pkg-plist 2014-01-22 21:16:56.000000000 +0600
+++ ./pkg-plist 1970-01-01 06:00:00.000000000 +0600
@@ -1,3 +0,0 @@
-bin/periscope
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
-%%DESKTOPDIR%%/periscope.desktop
--- py-periscope-0.2.4.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list