summaryrefslogtreecommitdiff
path: root/audio/juke/Makefile
blob: ef632f3ebc2ef76774b1ab81f542992ea69204b9 (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
32
33
34
35
36
37
# $NetBSD: Makefile,v 1.1.1.1 2003/03/06 22:30:57 salo Exp $
#

DISTNAME=	juke-0.7
CATEGORIES=	audio
MASTER_SITES=	http://johan.nocrew.org/nav10/unix/juke/archive/

MAINTAINER=	mob@bicekru.org
HOMEPAGE=	http://johan.nocrew.org/nav10/unix/juke/
COMMENT=	Simple ncurses based jukebox

USE_BUILDLINK2=	YES
USE_PKGINSTALL=	YES
GNU_CONFIGURE=	YES

# halfdelay()
INCOMPAT_CURSES=	NetBSD-1.[45]*-* NetBSD-1.6[-_.]* NetBSD-1.6[A-L]-*

EGDIR=		${PREFIX}/share/examples/juke

CONF_FILES=	${EGDIR}/juke.conf.default ${PKG_SYSCONFDIR}/juke.conf

post-configure:
	@cd ${WRKSRC} && \
	for f in MANUAL doc/juke.1 src/conf.c; do		\
		${MV} $$f $$f.orig;				\
		${SED} ${FILES_SUBST_SED} $$f.orig > $$f;	\
	done

post-install:
	${INSTALL_DATA_DIR} ${EGDIR}
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/juke
	${INSTALL_DATA} ${WRKSRC}/juke.conf ${EGDIR}/juke.conf.default
	${INSTALL_DATA} ${WRKSRC}/MANUAL ${PREFIX}/share/doc/juke/

.include "../../devel/ncurses/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"