aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libmodplug/Makefile
blob: 8ea7026aa5e1f9df10c0f7094e63ddf2c871020d (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
# New ports collection makefile for:   libmodplug
# Date created:     3 February 2004
# Whom:         Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#

PORTNAME=   libmodplug
PORTVERSION=    0.8.4
CATEGORIES= audio
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= modplug-xmms

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    ModPlug mod-like music shared libraries

USE_GCC=    3.2+
USE_LDCONFIG=   yes
USE_GMAKE=  yes
USE_GNOME=  pkgconfig
GNU_CONFIGURE=  yes

MAKE_ENV+=  CXX="${CXX}"

post-patch:
    @${REINPLACE_CMD} -e '/^CXXFLAGS=/d' \
        ${WRKSRC}/configure
    @${REINPLACE_CMD} -e 's|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|' \
        ${WRKSRC}/Makefile.in

.include <bsd.port.mk>