aboutsummaryrefslogtreecommitdiff
path: root/audio/tracker/Makefile
blob: 1d5615dbef61e6a8d5cd9ce1c973aa601b28f7b5 (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:	tracker
# Date created:		2 Oct 1994
# Whom:			swallace
#
# $FreeBSD$
#

PORTNAME=	tracker
PORTVERSION=	5.3
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_NETBSD}
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@FreeBSD.org

RESTRICTED=	"Non-redistributable beta"

WRKSRC=		${WRKDIR}/tracker
INSTALL_TARGET=	install install.info

post-patch:
	@${SED} -e 's,machine/soundcard.h,sys/soundcard.h,' < \
		${WRKSRC}/Arch/PCux/audio.c > ${WRKSRC}/Arch/PCux/audio.c.new
	@${MV} ${WRKSRC}/Arch/PCux/audio.c.new ${WRKSRC}/Arch/PCux/audio.c

post-install:
	@install-info ${PREFIX}/info/tracker.info ${PREFIX}/info/dir
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/tracker
.for file in FAQ readme tracker.doc
	${INSTALL_DATA} ${WRKSRC}/Docs/${file} ${PREFIX}/share/doc/tracker
.endfor
	@${MKDIR} ${PREFIX}/share/doc/tracker/html
	${INSTALL_DATA} ${WRKSRC}/Docs/Html/* ${PREFIX}/share/doc/tracker/html
.endif

.include <bsd.port.mk>