2003-12-04 12:32:32 +01:00
|
|
|
# New ports collection makefile for: prokyon3
|
|
|
|
# Date created: 11 November 2002
|
|
|
|
# Whom: Kay Lehmann
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= prokyon3
|
2008-06-20 18:48:37 +02:00
|
|
|
PORTVERSION= 0.9.6
|
2012-07-19 22:15:37 +02:00
|
|
|
PORTREVISION= 11
|
2003-12-04 12:32:32 +01:00
|
|
|
CATEGORIES= audio
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
MASTER_SITES= SF
|
2003-12-04 12:32:32 +01:00
|
|
|
|
2006-12-29 01:31:39 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2008-06-20 18:48:37 +02:00
|
|
|
COMMENT= A multithreaded music manager and tag editor
|
2003-12-04 12:32:32 +01:00
|
|
|
|
2008-06-20 18:48:37 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/plugins/sqldrivers/libqsqlmysql.so:${PORTSDIR}/databases/qt-mysql-plugin \
|
|
|
|
bash:${PORTSDIR}/shells/bash
|
|
|
|
LIB_DEPENDS= FLAC.10:${PORTSDIR}/audio/flac \
|
|
|
|
mad.2:${PORTSDIR}/audio/libmad \
|
|
|
|
vorbis.4:${PORTSDIR}/audio/libvorbis \
|
2009-12-02 18:16:16 +01:00
|
|
|
tag.1:${PORTSDIR}/audio/taglib
|
2008-06-20 18:48:37 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/plugins/sqldrivers/libqsqlmysql.so:${PORTSDIR}/databases/qt-mysql-plugin
|
2003-12-04 12:32:32 +01:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11 xft
|
2003-12-04 12:32:32 +01:00
|
|
|
USE_QT_VER= 3
|
2004-01-25 19:59:24 +01:00
|
|
|
USE_MYSQL= yes
|
2007-12-14 23:20:24 +01:00
|
|
|
USE_PERL5_BUILD=yes
|
2008-06-20 18:48:37 +02:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-other-includes=${LOCALBASE}/include \
|
|
|
|
--with-other-libs=${LOCALBASE}/lib \
|
2012-03-06 19:14:38 +01:00
|
|
|
--without-mixxx --without-musicextras \
|
|
|
|
--without-musicbrainz
|
2008-06-20 18:48:37 +02:00
|
|
|
MAKE_ARGS= LIBS="-lqt-mt ${PTHREAD_LIBS}"
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2004-01-25 19:59:24 +01:00
|
|
|
|
|
|
|
.if defined(WITH_BURN)
|
2007-01-31 15:07:59 +01:00
|
|
|
USE_CDRTOOLS= yes
|
|
|
|
RUN_DEPENDS+= mpg123:${PORTSDIR}/audio/mpg123 \
|
2004-01-25 19:59:24 +01:00
|
|
|
ogg123:${PORTSDIR}/audio/vorbis-tools \
|
|
|
|
normalize:${PORTSDIR}/audio/normalize \
|
2007-01-31 20:27:50 +01:00
|
|
|
bash:${PORTSDIR}/shells/bash
|
2012-03-06 19:14:38 +01:00
|
|
|
PLIST_SUB+= BURN=""
|
2008-06-20 18:48:37 +02:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= BURN="@comment "
|
2004-01-25 19:59:24 +01:00
|
|
|
.endif
|
2003-12-04 12:32:32 +01:00
|
|
|
|
|
|
|
post-patch:
|
2008-06-20 18:48:37 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|^#!.*$$|#!${LOCALBASE}/bin/bash|g ; \
|
|
|
|
s|^CXXFLAGS=|#CXXFLAGS=|g ; \
|
|
|
|
s|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|^#!.*$$|#!${LOCALBASE}/bin/bash|g' ${WRKSRC}/prokburn
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|: install-binSCRIPTS|:|g' ${WRKSRC}/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|getopt.$$(OBJEXT)||g' ${WRKSRC}/src/Makefile.in
|
2004-01-25 19:59:24 +01:00
|
|
|
|
|
|
|
post-install:
|
2008-06-20 18:48:37 +02:00
|
|
|
.if defined(WITH_BURN)
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/prokburn ${PREFIX}/bin
|
|
|
|
.endif
|
2004-01-25 19:59:24 +01:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
@sleep 5
|
2003-12-04 12:32:32 +01:00
|
|
|
|
2008-06-20 18:48:37 +02:00
|
|
|
.include <bsd.port.post.mk>
|