- white space to tabs
- add missing MASTER_SITES - mkdir -> ${MKDIR}, cp -> ${CP}, rm -> ${RM}, sh -> ${SH}
This commit is contained in:
parent
9cdad76e0a
commit
d9ca3e23c1
@ -1,40 +1,40 @@
|
||||
# $OpenBSD: Makefile,v 1.8 1999/08/18 01:59:36 angelos Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 1999/09/06 18:46:47 brad Exp $
|
||||
|
||||
DISTNAME= tracker-5.3
|
||||
CATEGORIES= audio
|
||||
DISTNAME= tracker-5.3
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= ftp://ftp.uni-trier.de/pub/unix/audio/tracker/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= espie@openbsd.org
|
||||
MAINTAINER= espie@openbsd.org
|
||||
|
||||
EXTRACT_SUFX= .tgz
|
||||
USE_GMAKE= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/tracker
|
||||
USE_GMAKE= yes
|
||||
PATCH_STRIP=-p2
|
||||
MAKE_FLAGS= MACHINE=openbsd CC=$(CC) INSTALL="$(INSTALL)" \
|
||||
WRKSRC= ${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 \
|
||||
-f
|
||||
COMPRESSION_FILE=/etc/compression_methods -f
|
||||
|
||||
post-extract:
|
||||
mkdir ${WRKSRC}/Arch/OpenBSD
|
||||
cp files/audio.c files/config.h ${WRKSRC}/Arch/OpenBSD
|
||||
@${MKDIR} ${WRKSRC}/Arch/OpenBSD
|
||||
@${CP} files/audio.c files/config.h ${WRKSRC}/Arch/OpenBSD
|
||||
|
||||
post-install:
|
||||
cd ${WRKSRC}/Docs && \
|
||||
@${MKDIR} ${PREFIX}/share/doc/tracker
|
||||
@${MKDIR} ${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
|
||||
${MKDIR} ${PREFIX}/share/doc/tracker
|
||||
cp -R ${WRKSRC}/Docs/* ${PREFIX}/share/doc/tracker
|
||||
${MKDIR} ${PREFIX}/lib/tracker
|
||||
cp ${WRKSRC}/Lib/compression_methods ${PREFIX}/lib/tracker/compression_methods.sample
|
||||
${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} && /bin/sh ${FILESDIR}/test.uu && tracker *
|
||||
@cd ${WRKSRC} && ${SH} ${FILESDIR}/test.uu && tracker *
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user