blob: 69530a1721f8971b58b24be741f4d2bacef03f34 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# New ports collection makefile for: prokyon3
# Date created: 11 November 2002
# Whom: Kay Lehmann
#
# $FreeBSD$
#
PORTNAME= prokyon3
PORTVERSION= 0.9.6
PORTREVISION= 4
CATEGORIES= audio
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= A multithreaded music manager and tag editor
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 \
tag.1:${PORTSDIR}/audio/taglib
RUN_DEPENDS= ${LOCALBASE}/lib/plugins/sqldrivers/libqsqlmysql.so:${PORTSDIR}/databases/qt-mysql-plugin
USE_XORG= x11 xft
USE_QT_VER= 3
USE_GNOME= gnometarget
USE_MYSQL= yes
USE_PERL5_BUILD=yes
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>
.if defined(WITH_BURN)
USE_CDRTOOLS= yes
RUN_DEPENDS+= mpg123:${PORTSDIR}/audio/mpg123 \
ogg123:${PORTSDIR}/audio/vorbis-tools \
normalize:${PORTSDIR}/audio/normalize \
bash:${PORTSDIR}/shells/bash
PLIST_FILES+= BURN=""
.else
PLIST_SUB+= BURN="@comment "
.endif
post-patch:
@${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
post-install:
.if defined(WITH_BURN)
${INSTALL_SCRIPT} ${WRKSRC}/prokburn ${PREFIX}/bin
.endif
@${CAT} ${PKGMESSAGE}
@sleep 5
.include <bsd.port.post.mk>
|