summaryrefslogtreecommitdiff
path: root/audio/mikmod/Makefile
blob: 6e74cafcf0379c37d4f32c5af82c081cbecef860 (plain)
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
# $NetBSD: Makefile,v 1.15 1999/04/13 15:31:04 agc Exp $
#

DISTNAME=	mikmod-3.0.3
CATEGORIES=	audio
MASTER_SITES=	http://www.freenet.tlh.fl.us/~amstpi/	\
		${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	apps/sound/players

MAINTAINER=	mycroft@NetBSD.ORG
HOMEPAGE=	http://www.freenet.tlh.fl.us/~amstpi/mikmod.html

DEPENDS+=	ncurses-1.9.9g:../../devel/ncurses

USE_GMAKE=	yes

post-patch:
	chmod a+x ${WRKSRC}/build-mikmod.netbsd.sh

do-build:
	@(cd ${WRKSRC}; ${SETENV} PREFIX=${PREFIX} ./build-mikmod.netbsd.sh)

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/usercode/mikmod ${PREFIX}/bin
	#${INSTALL_MAN} ${WRKSRC}/docs/mikmod.1 ${PREFIX}/man/man1
	${MKDIR} ${PREFIX}/share/doc/mikmod
.for f in bugs.txt changes.txt future.txt mikmod.doc mikmod.txt tips.txt
	${INSTALL_DATA} ${WRKSRC}/docs/$f ${PREFIX}/share/doc/mikmod
.endfor

.include "../../mk/bsd.pkg.mk"