aboutsummaryrefslogtreecommitdiffstats
path: root/audio/tracker/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/tracker/Makefile')
-rw-r--r--audio/tracker/Makefile45
1 files changed, 21 insertions, 24 deletions
diff --git a/audio/tracker/Makefile b/audio/tracker/Makefile
index 52be1a787397..f59db866da57 100644
--- a/audio/tracker/Makefile
+++ b/audio/tracker/Makefile
@@ -1,35 +1,32 @@
-# New ports collection makefile for: tracker
-# Version required: 5.3
-# Date created: 2 Oct 1994
-# Whom: swallace
+# New ports collection makefile for: tracker
+# Version required: 5.3
+# Date created: 2 Oct 1994
+# Whom: swallace
#
# $FreeBSD$
#
-DISTNAME= tracker-5.3
-CATEGORIES= audio
-MASTER_SITES= ftp://ftp.uni-trier.de/pub/unix/audio/tracker/
-EXTRACT_SUFX= .tgz
+DISTNAME= tracker-5.3
+CATEGORIES= audio
+MASTER_SITES= ftp://ftp.uni-trier.de/pub/unix/audio/tracker/
+EXTRACT_SUFX= .tgz
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
-RESTRICTED= "Non-redistributable beta"
+RESTRICTED= "Non-redistributable beta"
-WRKSRC= ${WRKDIR}/tracker
-USE_GMAKE= yes
-MAKE_FLAGS= MACHINE=freebsd 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=$(PREFIX)/etc/compression_methods \
- -f
+WRKSRC= ${WRKDIR}/tracker
+INSTALL_TARGET= install install.info
post-install:
- cd ${WRKSRC}/Docs && \
- makeinfo --no-split tracker.texinfo -o tracker.info && \
- ${GZIP_CMD} tracker.info && \
- $(INSTALL_MAN) tracker.info.gz ${PREFIX}/info && \
- ${RM} -f tracker.info.gz *.orig
- -${MKDIR} ${PREFIX}/share/doc/tracker
- ${CP} -R ${WRKSRC}/Docs/* ${PREFIX}/share/doc/tracker
+ @install-info ${PREFIX}/info/tracker.info ${PREFIX}/info/dir
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/tracker
+.for file in FAQ readme tracker.doc
+ ${INSTALL_DATA} ${WRKSRC}/Docs/${file} ${PREFIX}/share/doc/tracker
+.endfor
+ @${MKDIR} ${PREFIX}/share/doc/tracker/html
+ ${INSTALL_DATA} ${WRKSRC}/Docs/Html/* ${PREFIX}/share/doc/tracker/html
+.endif
.include <bsd.port.mk>