# New ports collection makefile for:	xwave
# Date created:				11 June 2000
# Whom:					Trevor Johnson <trevor@jpj.net>
#
# $FreeBSD$
#

PORTNAME=	xwave
PORTVERSION=	2.2
CATEGORIES=	audio
MASTER_SITES=	http://www.funet.fi/~kouhia/waves/
DISTNAME=	${PORTNAME}${PORTVERSION:S/./v/}

MAINTAINER=	martin.kraft@fal.de

WRKSRC=		${WRKDIR}/${PORTNAME}2-981109
USE_IMAKE=	yes
USE_XPM=	yes

DOC_FILES=	README README-XWAVE2 README.v06 INSTALL

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/xwave ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/src/XWave ${PREFIX}/lib/X11/app-defaults
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/xwave
.for i in ${DOC_FILES}
	${INSTALL_MAN} ${WRKSRC}/${i} ${PREFIX}/share/doc/xwave
.endfor
.endif
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
