blob: ac2acd978ab9e1fff09c0e10e458241b3856d506 (
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
38
39
|
# $NetBSD: Makefile,v 1.28 2001/09/08 19:55:40 jlam Exp $
#
DISTNAME= xmcd-3.0.1
CATEGORIES= audio
MASTER_SITES= http://www.ibiblio.org/tkan/download/xmcd/src/
MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://www.ibiblio.org/tkan/xmcd/
COMMENT= Motif CD player
WRKSRC= ${WRKDIR}/xmcd-3.0
USE_NCURSES= yes
USE_IMAKE= yes
IS_INTERACTIVE= yes # asks a lot of questions
MAKE_ENV+= SHELL=${SH}
pre-install:
cd ${WRKSRC} && \
for f in libdi_d/config.sh misc_d/start.sh install.sh; do \
${SED} -e "s/@MACHINE_ARCH@/${MACHINE_ARCH}/" $$f > $$f.new; \
${MV} -f $$f.new $$f; \
done
post-install:
.for FILE in cda xmcd gobrowser
@${TEST} -n "${STRIPFLAG}" && \
strip ${PREFIX}/lib/X11/xmcd/bin-${OPSYS}-${MACHINE_ARCH}/${FILE}
.endfor
${MV} ${PREFIX}/man/cat1/cda.1 ${PREFIX}/man/man1/cda.1
${MV} ${PREFIX}/man/cat1/xmcd.1 ${PREFIX}/man/man1/xmcd.1
.if ! defined(BATCH)
${PREFIX}/lib/X11/xmcd/config/config.sh
.endif
.include "../../devel/ncurses/buildlink.mk"
.include "../../graphics/xpm/buildlink.mk"
.include "../../mk/motif.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|