39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# $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"
|