2003-12-04 11:32:32 +00:00
|
|
|
# New ports collection makefile for: prokyon3
|
|
|
|
# Date created: 11 November 2002
|
|
|
|
# Whom: Kay Lehmann
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= prokyon3
|
2008-06-20 16:48:37 +00:00
|
|
|
PORTVERSION= 0.9.6
|
2008-06-20 17:49:56 +00:00
|
|
|
PORTREVISION= 1
|
2003-12-04 11:32:32 +00: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 17:56:05 +00:00
|
|
|
MASTER_SITES= SF
|
2003-12-04 11:32:32 +00:00
|
|
|
|
2006-12-29 00:31:39 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2008-06-20 16:48:37 +00:00
|
|
|
COMMENT= A multithreaded music manager and tag editor
|
2003-12-04 11:32:32 +00:00
|
|
|
|
2008-06-20 16:48:37 +00: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 \
|
|
|
|
musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz \
|
|
|
|
vorbis.4:${PORTSDIR}/audio/libvorbis \
|
2008-06-20 17:49:56 +00:00
|
|
|
tag.6:${PORTSDIR}/audio/taglib
|
2008-06-20 16:48:37 +00:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/plugins/sqldrivers/libqsqlmysql.so:${PORTSDIR}/databases/qt-mysql-plugin
|
2003-12-04 11:32:32 +00: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 17:56:05 +00:00
|
|
|
USE_XORG= x11 xft
|
2003-12-04 11:32:32 +00:00
|
|
|
USE_QT_VER= 3
|
2008-06-20 16:48:37 +00:00
|
|
|
USE_GNOME= gnometarget
|
2004-01-25 18:59:24 +00:00
|
|
|
USE_MYSQL= yes
|
2007-12-14 22:20:24 +00:00
|
|
|
USE_PERL5_BUILD=yes
|
2008-06-20 16:48:37 +00:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-other-includes=${LOCALBASE}/include \
|
|
|
|
--with-other-libs=${LOCALBASE}/lib \
|
|
|
|
--without-mixxx --without-musicextras
|
|
|
|
MAKE_ARGS= LIBS="-lqt-mt ${PTHREAD_LIBS}"
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2004-01-25 18:59:24 +00:00
|
|
|
|
|
|
|
.if defined(WITH_BURN)
|
2007-01-31 14:07:59 +00:00
|
|
|
USE_CDRTOOLS= yes
|
|
|
|
RUN_DEPENDS+= mpg123:${PORTSDIR}/audio/mpg123 \
|
2004-01-25 18:59:24 +00:00
|
|
|
ogg123:${PORTSDIR}/audio/vorbis-tools \
|
|
|
|
normalize:${PORTSDIR}/audio/normalize \
|
2007-01-31 19:27:50 +00:00
|
|
|
bash:${PORTSDIR}/shells/bash
|
2008-06-20 16:48:37 +00:00
|
|
|
PLIST_FILES+= BURN=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= BURN="@comment "
|
2004-01-25 18:59:24 +00:00
|
|
|
.endif
|
2003-12-04 11:32:32 +00:00
|
|
|
|
|
|
|
post-patch:
|
2008-06-20 16:48:37 +00: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 18:59:24 +00:00
|
|
|
|
|
|
|
post-install:
|
2008-06-20 16:48:37 +00:00
|
|
|
.if defined(WITH_BURN)
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/prokburn ${PREFIX}/bin
|
|
|
|
.endif
|
2004-01-25 18:59:24 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
@sleep 5
|
2003-12-04 11:32:32 +00:00
|
|
|
|
2008-06-20 16:48:37 +00:00
|
|
|
.include <bsd.port.post.mk>
|