View | Details | Raw Unified | Return to bug 134278
Collapse All | Expand All

(-)audio/mp3plot/Makefile (-8 / +26 lines)
Lines 6-29 Link Here
6
#
6
#
7
7
8
PORTNAME=	mp3plot
8
PORTNAME=	mp3plot
9
DISTVERSION=	0.4.0a
9
DISTVERSION=	0.5.1
10
PORTREVISION=	1
11
CATEGORIES=	audio
10
CATEGORIES=	audio
12
MASTER_SITES=	http://p.outlyer.net/mp3plot/files/ CENKES
11
MASTER_SITES=	http://p.outlyer.net/mp3plot/files/
13
12
14
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	Mp3 bitrate plot tool
14
COMMENT=	Mp3 bitrate plot tool
16
15
17
LIB_DEPENDS=	boost_thread.4:${PORTSDIR}/devel/boost
16
LIB_DEPENDS=	boost_thread.4:${PORTSDIR}/devel/boost
18
17
18
OPTIONS=	GD "Enable support for GD library" on \
19
		IMAGEMAGICK "Enable support for Magick++" off
20
19
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
20
CPPFLAGS=	-I${LOCALBASE}/include
21
LDFLAGS=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
22
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
22
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
23
24
MAN1=		${PORTNAME}.1
23
PLIST_FILES=	bin/${PORTNAME}
25
PLIST_FILES=	bin/${PORTNAME}
24
26
27
CPPFLAGS=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
28
LDFLAGS=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
29
30
.include <bsd.port.pre.mk>
31
32
.if defined(WITHOUT_GD)
33
CONFIGURE_ARGS+=	--disable-gd
34
.else
35
LIB_DEPENDS+=	gd.4:${PORTSDIR}/graphics/gd
36
.endif
37
38
.if defined(WITH_IMAGEMAGICK)
39
LIB_DEPENDS+=	Magick++.2:${PORTSDIR}/graphics/ImageMagick
40
.else
41
CONFIGURE_ARGS+=	--disable-magick
42
.endif
43
25
post-patch:
44
post-patch:
26
	@${REINPLACE_CMD} -e '/HAVE.*MAGICK=1/s|1|0|;/^#define HAVE.*MAGICK/s|1|0|;\
45
	@${REINPLACE_CMD} -e '/bldtype_/s|-O2||g' ${WRKSRC}/configure
27
		/test.*==/s|==|=|;s/-O2//' ${WRKSRC}/configure
28
46
29
.include <bsd.port.mk>
47
.include <bsd.port.post.mk>
(-)audio/mp3plot/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (mp3plot-0.4.0a.tar.gz) = 5b1189a6e524fa9ffdf73c37505de4df
1
MD5 (mp3plot-0.5.1.tar.gz) = 20d1e6b21926b9d42412eae37fe1cf91
2
SHA256 (mp3plot-0.4.0a.tar.gz) = 3c6e2fe90d399c300392ef81b714791591873f69508329cb957451d89c6eeddf
2
SHA256 (mp3plot-0.5.1.tar.gz) = d368bcdefb4e25abef93aa7c323f23311e553170392b2d88322f4812d42c7303
3
SIZE (mp3plot-0.4.0a.tar.gz) = 137150
3
SIZE (mp3plot-0.5.1.tar.gz) = 197379

Return to bug 134278