summaryrefslogtreecommitdiff
path: root/net-p2p/nicotine-plus/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/nicotine-plus/Makefile')
-rw-r--r--net-p2p/nicotine-plus/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/net-p2p/nicotine-plus/Makefile b/net-p2p/nicotine-plus/Makefile
new file mode 100644
index 000000000000..4a03cdfc14f9
--- /dev/null
+++ b/net-p2p/nicotine-plus/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: nicotine
+# Date created: 19 Aug 2003
+# Whom: Adam Weinberger <adamw@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= nicotine
+PORTVERSION= 1.0.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_X_PREFIX= 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>