openbsd-ports/audio/tracker/Makefile
espie b3ed337056 Change MAKE_FLAGS to remove the -f.
Actually reading the Makefiles proved that about one third of them was
confused about this already...
2000-02-12 00:43:57 +00:00

42 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.12 2000/02/12 00:43:57 espie Exp $
DISTNAME= tracker-5.3
CATEGORIES= audio
MASTER_SITES= ftp://ftp.uni-trier.de/pub/unix/audio/tracker/
EXTRACT_SUFX= .tgz
NEED_VERSION= 1.195
MAINTAINER= espie@openbsd.org
USE_GMAKE= yes
WRKDIST= ${WRKDIR}/tracker
PATCH_STRIP= -p2
MAKE_FLAGS= MACHINE=openbsd CC=$(CC) INSTALL="$(INSTALL)" \
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
post-extract:
@mkdir -p ${WRKSRC}/Arch/OpenBSD
@cp files/audio.c files/config.h ${WRKSRC}/Arch/OpenBSD
post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tracker
@${INSTALL_DATA_DIR} ${PREFIX}/lib/tracker
@cd ${WRKSRC}/Docs && \
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
# 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 *
.include <bsd.port.mk>