mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
23740c231d
- Transfer maintainership to Silver Salonen <silver@ultrasoft.ee>. Patch by: Silver Salonen <silver@ultrasoft.ee>
102 lines
2.5 KiB
Makefile
102 lines
2.5 KiB
Makefile
# New ports collection makefile for: museekplus
|
|
# Date created: 06 Aug 2006
|
|
# Whom: Stefan Walter <stefan@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
# This port's behaviour can be adjusted by defining the following variables:
|
|
#
|
|
# WITHOUT_MUSEEQ - build without museeq, the Qt frontend
|
|
# WITHOUT_QSA - build museeq without scripting support
|
|
# WITH_DEBUG - build with debugging messages
|
|
# WITH_OPTIMIZED_CFLAGS - build with optimizations and exclude debug symbols
|
|
|
|
PORTNAME= museekplus
|
|
PORTVERSION= 0.1.13
|
|
CATEGORIES= net-p2p
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
|
MASTER_SITE_SUBDIR= museek-plus
|
|
DISTNAME= museek+-${PORTVERSION}
|
|
|
|
MAINTAINER= silver@ultrasoft.ee
|
|
COMMENT= SoulSeek client with separate terminal and Qt based interface
|
|
|
|
LIB_DEPENDS= xml\\+\\+:${PORTSDIR}/textproc/libxml++26 \
|
|
vorbis:${PORTSDIR}/audio/libvorbis
|
|
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13
|
|
|
|
USE_BZIP2= yes
|
|
USE_PYTHON= yes
|
|
USE_SCONS= yes
|
|
USE_FAM= yes
|
|
|
|
SCONS_ARGS= QTDIR=${QT_PREFIX} QT_LIB=qt-mt PREFIX=${PREFIX} VORBIS=yes
|
|
DATADIR= share/museek
|
|
|
|
MAN1= mucous.1 mulog.1 murmur.1 muscan.1 muscand.1 museekcontrol.1 \
|
|
museekd.1 musetup-gtk.1 musetup.1
|
|
|
|
.if defined(WITHOUT_MUSEEQ)
|
|
SCONS_ARGS+= MUSEEQ=no
|
|
PLIST_SUB+= MUSEEQ="@comment "
|
|
.else
|
|
USE_QT_VER= 3
|
|
SCONS_ARGS+= MUSEEQ=yes
|
|
PLIST_SUB+= MUSEEQ=""
|
|
MAN1+= museeq.1
|
|
.if defined(WITHOUT_QSA)
|
|
SCONS_ARGS+= QSA=no
|
|
.else
|
|
SCONS_ARGS+= QSA=yes
|
|
LIB_DEPENDS+= qsa:${PORTSDIR}/devel/qsa
|
|
.endif
|
|
.endif
|
|
|
|
.if defined(WITH_DEBUG)
|
|
SCONS_ARGS+= MULOG="cycle,debug"
|
|
.else
|
|
SCONS_ARGS+= MULOG=""
|
|
.endif
|
|
|
|
.if defined(WITH_OPTIMIZED_CFLAGS)
|
|
SCONS_ARGS+= RELEASE=yes
|
|
.else
|
|
SCONS_ARGS+= RELEASE=no
|
|
.endif
|
|
|
|
pre-everything::
|
|
.if !defined(WITHOUT_MUSEEQ)
|
|
@${ECHO_MSG} "Define WITHOUT_MUSEEQ to build without the Qt frontend"
|
|
.endif
|
|
.if !defined(WITH_DEBUG)
|
|
@${ECHO_MSG} "Define WITH_DEBUG to build with debugging messages"
|
|
.endif
|
|
.if !defined(WITH_OPTIMIZED_CFLAGS)
|
|
@${ECHO_MSG} "Define WITH_OPTIMIZED_CFALGS to build with optmizations"
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} \
|
|
-e "s,%%PYTHONPREFIX_SITELIBDIR%%,${PYTHONPREFIX_SITELIBDIR},g"\
|
|
${WRKSRC}/Mucipher/python/SConscript \
|
|
${WRKSRC}/mucous/pymucous/SConscript \
|
|
${WRKSRC}/murmur/pymurmur/SConscript \
|
|
${WRKSRC}/museekd/SConscript \
|
|
${WRKSRC}/python-bindings/museek/SConscript
|
|
|
|
post-install:
|
|
@${REINPLACE_CMD} -i "" -e "s,/usr/bin/python,${PYTHON_CMD},g" \
|
|
${PREFIX}/bin/mucous \
|
|
${PREFIX}/bin/musetup-gtk
|
|
@${ECHO_CMD}
|
|
@${CAT} ${PKGMESSAGE}
|
|
@${ECHO_CMD}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == amd64
|
|
BROKEN= Does not compile on amd64
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|