4ba3b229eb
- The API did not change - This port now requires gcc 3.2 or newer
31 lines
669 B
Makefile
31 lines
669 B
Makefile
# 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>
|