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
|
2003-12-12 09:55:50 +00:00
|
|
|
PORTVERSION= 1.0.6
|
2003-08-20 13:50:26 +00: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>
|
|
|
|
|
2003-09-27 18:05:22 +00:00
|
|
|
.if exists(${PYTHON_SITELIBDIR}/ogg/vorbis.so) || defined(WITH_VORBIS)
|
2003-10-03 13:58:42 +00:00
|
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/ogg/vorbis.so:${PORTSDIR}/audio/py-vorbis
|
2003-08-20 13:50:26 +00:00
|
|
|
.else
|
|
|
|
pre-everything::
|
2003-09-27 01:01:08 +00:00
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "Define WITH_VORBIS=yes to enable OGG/Vorbis support"
|
|
|
|
@${ECHO_MSG} ""
|
2003-08-20 13:50:26 +00:00
|
|
|
.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>
|