summaryrefslogtreecommitdiff
path: root/audio/snowstar/Makefile
blob: a4d998c6ea3a640ca02724bb1d651ff2eee7a29d (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
# New ports collection makefile for:	snowstar
# Date created:				21 April 1999
# Whom:					fenner
#
# $FreeBSD$

PORTNAME=	snowstar
PORTVERSION=	0.75.5
CATEGORIES=	audio
MASTER_SITES=	http://www.daft.com/~armadilo/projects/snowstar/
EXTRACT_SUFX=	.tar

MAINTAINER=	fenner@FreeBSD.Org

RUN_DEPENDS=	rio:${PORTSDIR}/audio/rio \
		wish8.2:${PORTSDIR}/x11-toolkits/tk82

NO_BUILD=	true
NO_WRKSUBDIR=	true

DOC_FILES=	CHANGES TODO README_Snowstar LICENSE

# somehow snowstar.tcl managed to get loaded with ^M's.
post-patch:
	@${PERL} -pi -e "s|\r\n|\n|g ; \
		s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/snowstar.tcl

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/snowstar.tcl ${PREFIX}/bin/snowstar
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/snowstar
.for i in ${DOC_FILES}
	${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/snowstar
.endfor
.endif

.include <bsd.port.mk>