# New ports collection makefile for: libsidplay2 # Date created: 6 October 2002 # Whom: Anders Nordby # # $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|||g' \ ${WRKSRC}/libsidutils/src/ini/ini.cpp .include