blob: f9c9766a408d950a3c80a31e07010220602d9b8b (
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
|
# $NetBSD: Makefile,v 1.23 2001/02/16 13:30:53 wiz Exp $
#
DISTNAME= xmcd-2.6
CATEGORIES= audio
MASTER_SITES= http://metalab.unc.edu/tkan/download/xmcd/src/
MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://metalab.unc.edu/tkan/xmcd/
COMMENT= Motif CD player
DEPENDS+= ncurses>=4.2:../../devel/ncurses
USE_MOTIF= yes
USE_IMAKE= yes
IS_INTERACTIVE= yes # asks a lot of questions
MAKE_ENV+= SHELL=/bin/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 cddbcmd wm2xmcd xmcd
@${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/cddbcmd.1 ${PREFIX}/man/man1/cddbcmd.1
${MV} ${PREFIX}/man/cat1/dp2xmcd.1 ${PREFIX}/man/man1/dp2xmcd.1
${MV} ${PREFIX}/man/cat1/wm2xmcd.1 ${PREFIX}/man/man1/wm2xmcd.1
${MV} ${PREFIX}/man/cat1/xmcd.1 ${PREFIX}/man/man1/xmcd.1
${PREFIX}/lib/X11/xmcd/config/config.sh
.include "../../mk/bsd.pkg.mk"
|