blob: ea62340a6817710e22ab0a3c38e5b83a462ca0fb (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= libadplug
PORTVERSION= 2.2.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= binio:${PORTSDIR}/devel/libbinio
USES= pkgconfig
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_CSTD= gnu89
MAKE_JOBS_SAFE= yes
CPPFLAGS+= -I${LOCALBASE}/include
INFO= libadplug
MAN1= adplugdb.1
post-patch:
@${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 \
${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|' \
${WRKSRC}/Makefile.in \
${WRKSRC}/Makefile.am
.include <bsd.port.mk>
|