diff options
author | ak <ak@FreeBSD.org> | 2012-04-09 04:27:09 +0800 |
---|---|---|
committer | ak <ak@FreeBSD.org> | 2012-04-09 04:27:09 +0800 |
commit | abb0651cf811be2def36f9f9186e835e913ada1e (patch) | |
tree | 2f415e6f2a1da872e436e42310e1d0e287c01a9b /audio/linux-mbrola | |
parent | 9f468dbd7ac2a2da48dbeb53809836d9ccfc27e3 (diff) | |
download | freebsd-ports-gnome-abb0651cf811be2def36f9f9186e835e913ada1e.tar.gz freebsd-ports-gnome-abb0651cf811be2def36f9f9186e835e913ada1e.tar.zst freebsd-ports-gnome-abb0651cf811be2def36f9f9186e835e913ada1e.zip |
- Fix explicit use of unzip
- Remove vestiges of alpha
PR: ports/153429
Approved by: eadler (mentor)
Feature safe: yes
Diffstat (limited to 'audio/linux-mbrola')
-rw-r--r-- | audio/linux-mbrola/Makefile | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/audio/linux-mbrola/Makefile b/audio/linux-mbrola/Makefile index 635dfe8d05b1..c51690c23709 100644 --- a/audio/linux-mbrola/Makefile +++ b/audio/linux-mbrola/Makefile @@ -21,7 +21,7 @@ RUN_DEPENDS= ${LOCALBASE}/share/mbrolavox:${PORTSDIR}/audio/mbrolavox CONFLICTS= mbrola-* NO_BUILD= yes -ONLY_FOR_ARCHS= alpha amd64 i386 +ONLY_FOR_ARCHS= amd64 i386 USE_LINUX= yes USE_ZIP= yes RESTRICTED= for non-commercial, non-military applications only @@ -36,23 +36,14 @@ PLIST_FILES+= share/doc/mbrola/readme.txt do-extract: @${MKDIR} ${WRKSRC} - @unzip -qo ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}.zip -d ${WRKSRC} - -do-patch: - @${RM} -f ${WRKSRC}/mbrola-FreeBSD-i386-aout - -.include <bsd.port.pre.mk> + @${UNZIP_CMD} ${EXTRACT_BEFORE_ARGS} \ + ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}.zip -d ${WRKSRC} do-install: -.if (${ARCH} == "alpha") - @${INSTALL_PROGRAM} ${WRKSRC}/mbrola-linux-alpha ${PREFIX}/bin/mbrola -.else @${INSTALL_PROGRAM} ${WRKSRC}/mbrola-linux-i386 ${PREFIX}/bin/mbrola -.endif - @${CHMOD} +x ${PREFIX}/bin/mbrola .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |