1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

-Update to 0.0.16.

-Chase the current bsd.gnome.mk, ie: pygnome2
-Add PORTDOCS.
This commit is contained in:
Jeremy Messenger 2004-06-15 08:08:10 +00:00
parent 404726b9dd
commit 50f97191ab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111524
8 changed files with 64 additions and 36 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= gnome-btdownload
PORTVERSION= 0.0.11
PORTREVISION= 1
PORTVERSION= 0.0.16
CATEGORIES= net gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gnome-bt
@ -15,21 +14,29 @@ MASTER_SITE_SUBDIR= gnome-bt
MAINTAINER= mezz@FreeBSD.org
COMMENT= A simple Gnome interface designed as a mime-sink for BitTorrent files
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/BitTorrent/__init__.py:${PORTSDIR}/net/py-bittorrent-core \
${PYTHON_SITELIBDIR}/gtk-2.0/gnome/__init__.py:${PORTSDIR}/x11-toolkits/py-gnome2
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/BitTorrent/__init__.py:${PORTSDIR}/net/py-bittorrent-core
USE_BZIP2= yes
USE_GMAKE= yes
USE_PYTHON= yes
USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GNOME= gnomehack gnomeprefix
USE_GNOME= gnomehack gnomeprefix pygnome2
GNU_CONFIGURE= yes
MAN1= gnome-btdownload.1
DOCS= AUTHORS COPYING ChangeLog INSTALL README
post-patch:
@${REINPLACE_CMD} -e 's|%%X11PREFIX%%|${PREFIX}|g' \
${WRKSRC}/src/${PORTNAME}
.ifndef (NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
MD5 (gnome-btdownload-0.0.11.tar.bz2) = 023786c0b2d6096f45ab841699658c23
SIZE (gnome-btdownload-0.0.11.tar.bz2) = 83482
MD5 (gnome-btdownload-0.0.16.tar.bz2) = f54826a4b5bc82367cff3f3ca8095f9d
SIZE (gnome-btdownload-0.0.16.tar.bz2) = 85870

View File

@ -1,14 +1,14 @@
--- src/gnome-btdownload.orig Thu Jan 8 22:13:40 2004
+++ src/gnome-btdownload Thu Jan 8 22:14:05 2004
--- src/gnome-btdownload.orig Tue Jun 15 00:16:22 2004
+++ src/gnome-btdownload Tue Jun 15 00:17:17 2004
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# BitTorrent related modules.
import BitTorrent.download, BitTorrent.bencode
import os.path, threading, sys, time, re
@@ -49,7 +49,7 @@
if not locate_file or not get_url:
try:
@@ -72,7 +72,7 @@
# Fallback wrapper
if not locate_file:
def fallback_locate_attempt_prefixes(path):
- prefixes = ['', 'usr/', 'usr/local/']
+ prefixes = ['', '%%X11PREFIX%%/', 'usr/', 'usr/local/']

View File

@ -1,5 +1,11 @@
bin/gnome-btdownload
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/README
share/gnome/application-registry/gnome-btdownload.applications
share/gnome/gnome-btdownload/glade/contdiag.glade
share/gnome/gnome-btdownload/glade/dlsession.glade
share/gnome/gnome-btdownload/glade/errdiag.glade
share/gnome/gnome-btdownload/pixmaps/download.png
@ -8,3 +14,4 @@ share/gnome/mime-info/gnome-btdownload.mime
@dirrm share/gnome/gnome-btdownload/pixmaps
@dirrm share/gnome/gnome-btdownload/glade
@dirrm share/gnome/gnome-btdownload
%%PORTDOCS%%@dirrm %%DOCSDIR%%

View File

@ -6,8 +6,7 @@
#
PORTNAME= gnome-btdownload
PORTVERSION= 0.0.11
PORTREVISION= 1
PORTVERSION= 0.0.16
CATEGORIES= net gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gnome-bt
@ -15,21 +14,29 @@ MASTER_SITE_SUBDIR= gnome-bt
MAINTAINER= mezz@FreeBSD.org
COMMENT= A simple Gnome interface designed as a mime-sink for BitTorrent files
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/BitTorrent/__init__.py:${PORTSDIR}/net/py-bittorrent-core \
${PYTHON_SITELIBDIR}/gtk-2.0/gnome/__init__.py:${PORTSDIR}/x11-toolkits/py-gnome2
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/BitTorrent/__init__.py:${PORTSDIR}/net/py-bittorrent-core
USE_BZIP2= yes
USE_GMAKE= yes
USE_PYTHON= yes
USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GNOME= gnomehack gnomeprefix
USE_GNOME= gnomehack gnomeprefix pygnome2
GNU_CONFIGURE= yes
MAN1= gnome-btdownload.1
DOCS= AUTHORS COPYING ChangeLog INSTALL README
post-patch:
@${REINPLACE_CMD} -e 's|%%X11PREFIX%%|${PREFIX}|g' \
${WRKSRC}/src/${PORTNAME}
.ifndef (NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
MD5 (gnome-btdownload-0.0.11.tar.bz2) = 023786c0b2d6096f45ab841699658c23
SIZE (gnome-btdownload-0.0.11.tar.bz2) = 83482
MD5 (gnome-btdownload-0.0.16.tar.bz2) = f54826a4b5bc82367cff3f3ca8095f9d
SIZE (gnome-btdownload-0.0.16.tar.bz2) = 85870

View File

@ -1,14 +1,14 @@
--- src/gnome-btdownload.orig Thu Jan 8 22:13:40 2004
+++ src/gnome-btdownload Thu Jan 8 22:14:05 2004
--- src/gnome-btdownload.orig Tue Jun 15 00:16:22 2004
+++ src/gnome-btdownload Tue Jun 15 00:17:17 2004
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# BitTorrent related modules.
import BitTorrent.download, BitTorrent.bencode
import os.path, threading, sys, time, re
@@ -49,7 +49,7 @@
if not locate_file or not get_url:
try:
@@ -72,7 +72,7 @@
# Fallback wrapper
if not locate_file:
def fallback_locate_attempt_prefixes(path):
- prefixes = ['', 'usr/', 'usr/local/']
+ prefixes = ['', '%%X11PREFIX%%/', 'usr/', 'usr/local/']

View File

@ -1,5 +1,11 @@
bin/gnome-btdownload
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/README
share/gnome/application-registry/gnome-btdownload.applications
share/gnome/gnome-btdownload/glade/contdiag.glade
share/gnome/gnome-btdownload/glade/dlsession.glade
share/gnome/gnome-btdownload/glade/errdiag.glade
share/gnome/gnome-btdownload/pixmaps/download.png
@ -8,3 +14,4 @@ share/gnome/mime-info/gnome-btdownload.mime
@dirrm share/gnome/gnome-btdownload/pixmaps
@dirrm share/gnome/gnome-btdownload/glade
@dirrm share/gnome/gnome-btdownload
%%PORTDOCS%%@dirrm %%DOCSDIR%%