freebsd-ports/net-p2p/nicotine-plus/Makefile
Peter Pentchev 7848e51306 Fix RUN_DEPENDS when Vorbis support is requested.
PR:		57531
Submitted by:	Stefan Walter <sw@gegenunendlich.de>
2003-10-03 13:58:42 +00:00

41 lines
998 B
Makefile

# New ports collection makefile for: nicotine
# Date created: 19 Aug 2003
# Whom: Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= nicotine
PORTVERSION= 1.0.4.1
PORTREVISION= 1
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/vorbis.so) || defined(WITH_VORBIS)
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/ogg/vorbis.so:${PORTSDIR}/audio/py-vorbis
.else
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "Define WITH_VORBIS=yes to enable OGG/Vorbis support"
@${ECHO_MSG} ""
.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>