2003-08-20 13:50:26 +00:00
|
|
|
# New ports collection makefile for: nicotine
|
|
|
|
# Date created: 19 Aug 2003
|
|
|
|
# Whom: Adam Weinberger <adamw@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= nicotine
|
2004-05-21 07:52:46 +00:00
|
|
|
PORTVERSION= 1.0.8.r1
|
2003-08-20 13:50:26 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://nicotine.thegraveyard.org/
|
2004-05-21 07:52:46 +00:00
|
|
|
DISTNAME= ${PORTNAME}-1.0.8rc1
|
2003-08-20 13:50:26 +00:00
|
|
|
|
2004-02-27 14:12:35 +00:00
|
|
|
MAINTAINER= sw@gegenunendlich.de
|
2003-08-20 13:50:26 +00:00
|
|
|
COMMENT= GTK2 SoulSeek filesharing client
|
|
|
|
|
2004-01-08 04:23:31 +00:00
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2 \
|
2004-02-27 14:12:35 +00:00
|
|
|
${PYTHON_SITELIBDIR}/_bsddb.so:${PORTSDIR}/databases/py-bsddb
|
2004-02-17 22:49:47 +00:00
|
|
|
|
2003-08-20 13:50:26 +00:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
2004-03-02 12:30:58 +00:00
|
|
|
USE_REINPLACE= yes
|
2003-08-20 13:50:26 +00:00
|
|
|
|
2004-03-29 13:35:58 +00:00
|
|
|
OPTIONS= GEOIP "Enable the GeoIP based country code blocker" off \
|
|
|
|
PSYCO "Enable Psyco, the optimizing Python compiler" off \
|
|
|
|
VORBIS "Enable OGG/Vorbis support" on
|
|
|
|
|
2003-08-20 13:50:26 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-03-29 13:35:58 +00:00
|
|
|
.if defined(WITH_GEOIP)
|
2004-03-01 20:33:15 +00:00
|
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/GeoIP.so:${PORTSDIR}/net/py-GeoIP
|
|
|
|
.endif
|
2004-03-29 13:35:58 +00:00
|
|
|
.if defined(WITH_PSYCO)
|
2004-03-01 20:33:15 +00:00
|
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psyco/_psyco.so:${PORTSDIR}/devel/py-psyco
|
|
|
|
.endif
|
2004-03-29 13:35:58 +00:00
|
|
|
.if defined(WITH_VORBIS)
|
2003-10-03 13:58:42 +00:00
|
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/ogg/vorbis.so:${PORTSDIR}/audio/py-vorbis
|
2004-03-01 20:33:15 +00:00
|
|
|
.endif
|
|
|
|
|
2004-03-02 12:30:58 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s|sys\.prefix|\"${PREFIX}\"|g" ${WRKSRC}/setup.py
|
|
|
|
|
2003-08-20 13:50:26 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README.import-winconfig ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|