mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
34 lines
926 B
Makefile
34 lines
926 B
Makefile
# New ports collection makefile for: libsidplay2
|
|
# Date created: 6 October 2002
|
|
# Whom: Anders Nordby <anders@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libsidplay2
|
|
PORTVERSION= 2.1.0
|
|
CATEGORIES= audio emulators
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= sidplay2
|
|
DISTNAME= sidplay-libs-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Library to play Commodore 64 SID-tunes cycle accurate
|
|
|
|
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
|
|
RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
|
|
|
|
USE_REINPLACE= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
INSTALLS_SHLIB= yes
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
|
|
@${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|g' \
|
|
${WRKSRC}/libsidutils/src/ini/ini.cpp
|
|
|
|
.include <bsd.port.mk>
|