aboutsummaryrefslogtreecommitdiffstats
path: root/net/gnome-btdownload/Makefile
blob: 15c4c3fe69df8d7849c057055e2cb876b706ece1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:    gnome-btdownload
# Date created:             21 October 2003
# Whom:                 Mezz <mezz7@cox.net>
#
# $FreeBSD$
#

PORTNAME=   gnome-btdownload
PORTVERSION=    0.0.16
PORTEPOCH=  1
CATEGORIES= net gnome
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
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

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_PYTHON= yes
USE_REINPLACE=  yes
USE_X_PREFIX=   yes
USE_GNOME=  gnomehack gnomeprefix pygnome2
GNU_CONFIGURE=  yes

MAN1=       gnome-btdownload.1
DOCS=       AUTHORS COPYING ChangeLog 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>