# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD: branches/RELEASE_8_4_0/audio/openspc/Makefile 313649 2013-03-08 14:00:30Z ehaupt $

PORTNAME=	openspc
PORTVERSION=	0.3.1
PORTREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	http://membres.lycos.fr/pixels/ \
		CRITICAL
DISTNAME=	OpenSPC-${PORTVERSION}

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Command-line player for .spc and .zst files

ONLY_FOR_ARCHS=	i386	# contains x86 asm code
USE_LDCONFIG=	yes
USE_AUTOTOOLS=	libtool
MAKE_JOBS_SAFE=	yes

PORTDOCS=	README
PLIST_FILES=	bin/OpenSPClite include/OpenSPC.h lib/libOpenSPC.so \
		lib/libOpenSPC.so.3 lib/libOpenSPC.la lib/libOpenSPC.a

OPTIONS_DEFINE=	DOCS

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDOCS}
post-install:
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>
