aboutsummaryrefslogtreecommitdiff
path: root/audio/linux-mbrola
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-01-16 20:15:07 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-01-16 20:15:07 +0000
commitf36ba72281289feac4c47e75034088f9de90dd22 (patch)
tree13bc5ecdc381d3cde5a51caaf8ef6a5d55d4a1d8 /audio/linux-mbrola
parent67ce808e0886ab32feb61ca6ca8891f21b5ed1f9 (diff)
downloadports-f36ba72281289feac4c47e75034088f9de90dd22.tar.gz
ports-f36ba72281289feac4c47e75034088f9de90dd22.zip
Notes
Diffstat (limited to 'audio/linux-mbrola')
-rw-r--r--audio/linux-mbrola/Makefile29
1 files changed, 7 insertions, 22 deletions
diff --git a/audio/linux-mbrola/Makefile b/audio/linux-mbrola/Makefile
index 7ae7fc7585b8..53c290af5718 100644
--- a/audio/linux-mbrola/Makefile
+++ b/audio/linux-mbrola/Makefile
@@ -9,6 +9,7 @@ MASTER_SITES= http://tcts.fpms.ac.be/synthesis/mbrola/bin/pclinux/ \
PKGNAMEPREFIX= linux-
DISTNAME= mbr301h
DIST_SUBDIR= mbrola-linux
+EXTRACT_SUFX= .zip
MAINTAINER= ports@FreeBSD.org
COMMENT= MBROLA speech synthesizer for Linux
@@ -17,33 +18,17 @@ RUN_DEPENDS= ${LOCALBASE}/share/mbrolavox:${PORTSDIR}/audio/mbrolavox
CONFLICTS= mbrola-*
NO_BUILD= yes
-ONLY_FOR_ARCHS= amd64 i386
+NO_WRKSUBDIR= yes
+IA32_BINARY_PORT= yes
USE_LINUX= yes
-NO_STAGE= yes
-USE_ZIP= yes
RESTRICTED= for non-commercial, non-military applications only
-WRKSRC= ${WRKDIR}/mbr301h
-PLIST= ${WRKDIR}/plist
-PLIST_DIRS= share/doc/mbrola
PLIST_FILES= bin/mbrola
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-PLIST_FILES+= share/doc/mbrola/readme.txt
-.endif
-
-do-extract:
- @${MKDIR} ${WRKSRC}
- @${UNZIP_CMD} ${EXTRACT_BEFORE_ARGS} \
- ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}.zip -d ${WRKSRC}
+PORTDOCS= readme.txt
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/mbrola-linux-i386 ${PREFIX}/bin/mbrola
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/mbrola-linux-i386 ${STAGEDIR}${PREFIX}/bin/mbrola
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>