summaryrefslogtreecommitdiffstats
path: root/audio/sfront/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/sfront/Makefile')
-rw-r--r--audio/sfront/Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/audio/sfront/Makefile b/audio/sfront/Makefile
index bcb1570..1baccb1 100644
--- a/audio/sfront/Makefile
+++ b/audio/sfront/Makefile
@@ -7,23 +7,31 @@
#
PORTNAME= sfront
-PORTVERSION= 0.86
+PORTVERSION= 0.88
CATEGORIES= audio
MASTER_SITES= http://www.cs.berkeley.edu/~lazzaro/sa/
-DISTNAME= ${PORTNAME}${PORTVERSION}
+DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A translator that converts MP4-SA files into efficient C programs
+.if !defined(NOPORTDOCS)
+PORTDOCS= book sfman
+.endif
+
WRKSRC= ${WRKDIR}/${PORTNAME}/src
USE_BISON= yes
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
ALL_TARGET= ${PORTNAME}
-PLIST_FILES= bin/sfront
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sfront ${PREFIX}/bin
+ ${MKDIR} ${DOCSDIR}
+.if !defined(NOPORTDOCS)
+ ${CP} -R ${WRKDIR}/sfront/sfman ${DOCSDIR}/
+ ${CP} -R ${WRKDIR}/sfront/book ${DOCSDIR}/
+.endif
+ ${CP} -R ${WRKDIR}/sfront/examples/ ${EXAMPLESDIR}
.include <bsd.port.mk>
OpenPOWER on IntegriCloud