freebsd-ports/audio/libadplug/Makefile

45 lines
1.1 KiB
Makefile
Raw Normal View History

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= libadplug
2010-05-21 14:43:56 +02:00
PORTVERSION= 2.2.1
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= SF/adplug/AdPlug%20core%20library/${PORTVERSION}
DISTNAME= adplug-${PORTVERSION}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= AdLib emulator library supporting many formats
LICENSE= GPLv2
LIB_DEPENDS= libbinio.so:${PORTSDIR}/devel/libbinio
2014-06-25 16:31:36 +02:00
USES= pkgconfig libtool makeinfo
2006-05-18 22:21:22 +02:00
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
2011-06-21 16:35:56 +02:00
USE_CSTD= gnu89
CPPFLAGS+= -I${LOCALBASE}/include
2006-05-18 22:21:22 +02:00
INFO= libadplug
post-patch:
2006-05-18 22:21:22 +02:00
@${REINPLACE_CMD} -E 's#<(binfile.h|binio.h|binstr.h)>#<libbinio/\1>#' \
${WRKSRC}/adplugdb/adplugdb.cpp \
${WRKSRC}/src/adplug.cpp \
${WRKSRC}/src/fprovide.cpp \
${WRKSRC}/src/database.cpp \
2006-05-18 22:21:22 +02:00
${WRKSRC}/src/rix.cpp \
${WRKSRC}/src/fprovide.h \
${WRKSRC}/src/database.h \
${WRKSRC}/src/fprovide.cpp \
${WRKSRC}/src/database.cpp \
${WRKSRC}/src/dmo.cpp
@${REINPLACE_CMD} -e 's|^\(pkgconfigdir\ =\).*|\1 $$(prefix)/libdata/pkgconfig|' \
2006-05-18 22:21:22 +02:00
${WRKSRC}/Makefile.in \
${WRKSRC}/Makefile.am
2013-09-04 10:25:16 +02:00
@${REINPLACE_CMD} -e 's/-lstdc++//g' ${WRKSRC}/configure
.include <bsd.port.mk>