1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/audio/tracker/Makefile
Volker Stolz 1160b91e9a - Use PLIST_FILES/PORTDOCS
- Use REINPLACE
- Minimize Makefile-patch
2005-04-19 15:48:34 +00:00

45 lines
1.1 KiB
Makefile

# New ports collection makefile for: tracker
# Date created: 2 Oct 1994
# Whom: swallace
#
# $FreeBSD$
#
PORTNAME= tracker
PORTVERSION= 5.3
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_NETBSD}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= MOD player
RESTRICTED= "Non-redistributable beta"
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/tracker
INSTALL_TARGET= install install.info
MAKE_ARGS= CC="${CC}" PREFIX="${PREFIX}" \
MACHINE=freebsd COMPRESSION_FILE="${PREFIX}/etc/compression_methods" \
CFLAGS="${CFLAGS} -funroll-loops -finline-functions"
INFO= tracker
PLIST_FILES= bin/randomize bin/tracker etc/compression_methods
PORTDOCS= *
post-patch:
@${REINPLACE_CMD} -e 's,machine/soundcard.h,sys/soundcard.h,' \
${WRKSRC}/Arch/PCux/audio.c
post-install:
@install-info ${PREFIX}/info/tracker.info ${PREFIX}/info/dir
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/tracker/html
.for docfile in FAQ readme tracker.doc
${INSTALL_DATA} ${WRKSRC}/Docs/${docfile} ${PREFIX}/share/doc/tracker
.endfor
${INSTALL_DATA} ${WRKSRC}/Docs/Html/* ${PREFIX}/share/doc/tracker/html
.endif
.include <bsd.port.mk>