openbsd-ports/audio/tracker/Makefile

42 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.11 2000/02/11 01:10:00 espie Exp $
1998-05-21 21:00:50 -04:00
DISTNAME= tracker-5.3
CATEGORIES= audio
MASTER_SITES= ftp://ftp.uni-trier.de/pub/unix/audio/tracker/
2000-02-10 19:37:15 -05:00
NEED_VERSION= 1.191
EXTRACT_SUFX= .tgz
MAINTAINER= espie@openbsd.org
1998-10-06 20:22:52 -04:00
USE_GMAKE= yes
1998-10-06 20:22:52 -04:00
2000-02-10 19:37:15 -05:00
WRKDIST= ${WRKDIR}/tracker
PATCH_STRIP= -p2
MAKE_FLAGS= MACHINE=openbsd CC=$(CC) INSTALL="$(INSTALL)" \
1998-05-21 21:00:50 -04:00
INST_BIN_OPT="-c -s -m $(BINMODE) -o $(BINOWN) -g $(BINGRP)" \
INST_MAN_OPT="-c -m 644 -o $(BINOWN) -g $(BINGRP)" \
COMPRESSION_FILE=/etc/compression_methods -f
1998-05-21 21:00:50 -04:00
post-extract:
@mkdir -p ${WRKSRC}/Arch/OpenBSD
@cp files/audio.c files/config.h ${WRKSRC}/Arch/OpenBSD
1998-05-21 21:00:50 -04:00
post-install:
@mkdir -p ${PREFIX}/share/doc/tracker
@mkdir -p ${PREFIX}/lib/tracker
@cd ${WRKSRC}/Docs && \
1998-05-21 21:00:50 -04:00
makeinfo --no-split tracker.texinfo -o tracker.info && \
$(INSTALL_MAN) tracker.info ${PREFIX}/info && \
rm -f tracker.info *.orig
cp -R ${WRKSRC}/Docs/* ${PREFIX}/share/doc/tracker
cp ${WRKSRC}/Lib/compression_methods ${PREFIX}/lib/tracker/compression_methods.sample
1998-05-21 21:00:50 -04:00
1998-10-10 09:43:04 -04:00
# there is a small test module included. This target tests that
# - tracker correctly handles compressed files (only after install),
# - tracker doesn't crash on random files,
# - tracker plays some music.
test:
@cd ${WRKSRC} && ${SH} ${FILESDIR}/test.uu && tracker *
1998-10-10 09:43:04 -04:00
1998-05-21 21:00:50 -04:00
.include <bsd.port.mk>