2003-08-20 15:50:26 +02:00
|
|
|
# New ports collection makefile for: nicotine
|
|
|
|
# Date created: 19 Aug 2003
|
|
|
|
# Whom: Adam Weinberger <adamw@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= nicotine
|
2003-08-30 19:53:05 +02:00
|
|
|
PORTVERSION= 1.0.3
|
2003-08-20 15:50:26 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://nicotine.thegraveyard.org/
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= GTK2 SoulSeek filesharing client
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if exists(${PYTHON_SITELIBDIR}/ogg/vorbismodule.so) || defined(WITH_VORBIS)
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/ogg/vorbismodule.so:${PORTSDIR}/audio/py-vorbis
|
|
|
|
.else
|
|
|
|
pre-everything::
|
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} "Define WITH_VORBIS=yes to enable OGG/Vorbis support"
|
|
|
|
@${ECHO} ""
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.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>
|