2013-03-13 11:41:23 +01:00
|
|
|
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
2005-05-09 22:18:51 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libadplug
|
2010-05-21 14:43:56 +02:00
|
|
|
PORTVERSION= 2.2.1
|
2014-06-05 20:16:41 +02:00
|
|
|
PORTREVISION= 1
|
2005-05-09 22:18:51 +02:00
|
|
|
CATEGORIES= audio
|
2009-09-02 17:01:56 +02:00
|
|
|
MASTER_SITES= SF/adplug/AdPlug%20core%20library/${PORTVERSION}
|
2005-05-09 22:18:51 +02:00
|
|
|
DISTNAME= adplug-${PORTVERSION}
|
|
|
|
|
2005-10-06 13:57:11 +02:00
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
2005-05-09 22:18:51 +02:00
|
|
|
COMMENT= AdLib emulator library supporting many formats
|
|
|
|
|
2013-03-13 11:41:23 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-12-11 15:35:36 +01:00
|
|
|
LIB_DEPENDS= libbinio.so:${PORTSDIR}/devel/libbinio
|
2005-05-09 22:18:51 +02:00
|
|
|
|
2014-06-25 16:31:36 +02:00
|
|
|
USES= pkgconfig libtool makeinfo
|
2006-05-18 22:21:22 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2006-06-29 19:52:29 +02:00
|
|
|
USE_LDCONFIG= yes
|
2011-06-21 16:35:56 +02:00
|
|
|
USE_CSTD= gnu89
|
|
|
|
|
2005-05-09 22:18:51 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
|
2006-05-18 22:21:22 +02:00
|
|
|
INFO= libadplug
|
2005-05-09 22:18:51 +02:00
|
|
|
|
|
|
|
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 \
|
2005-09-22 14:49:18 +02:00
|
|
|
${WRKSRC}/src/database.cpp \
|
2006-05-18 22:21:22 +02:00
|
|
|
${WRKSRC}/src/rix.cpp \
|
|
|
|
${WRKSRC}/src/fprovide.h \
|
2005-09-22 14:49:18 +02:00
|
|
|
${WRKSRC}/src/database.h \
|
|
|
|
${WRKSRC}/src/fprovide.cpp \
|
|
|
|
${WRKSRC}/src/database.cpp \
|
|
|
|
${WRKSRC}/src/dmo.cpp
|
2013-03-13 11:41:23 +01:00
|
|
|
@${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
|
2005-05-09 22:18:51 +02:00
|
|
|
|
2007-04-16 09:53:47 +02:00
|
|
|
.include <bsd.port.mk>
|