diff options
Diffstat (limited to 'audio/fmio/Makefile')
-rw-r--r-- | audio/fmio/Makefile | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/audio/fmio/Makefile b/audio/fmio/Makefile index 431486bae36b..d21142372b6e 100644 --- a/audio/fmio/Makefile +++ b/audio/fmio/Makefile @@ -6,7 +6,7 @@ # PORTNAME= fmio -PORTVERSION= 1.2.18 +PORTVERSION= 1.2.25 CATEGORIES= audio MASTER_SITES= http://www.jumbo.narod.ru/src/fmio/ @@ -16,10 +16,30 @@ MAN1= fmio.1 MANCOMPRESSED= no pre-build: - ${PERL} -pi.orig -e "s@lib fmio man@lib fmio@g; \ - s@install -c -o root@#install@g" ${WRKSRC}/Makefile +.if !defined(WITH_XTREME) + @${ECHO_MSG} + @${ECHO_MSG} "If you want to compile with Highway Xtreme support," + @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_XTREME=yes\"" + @${ECHO_MSG} +.endif -post-install: +post-build: +.if defined(WITH_XTREME) + @${MAKE} ${WRKSRC}/utils/bktrctl +.endif + +do-install: +.if defined(WITH_XTREME) + ${INSTALL} ${WRKSRC}/utils/bktrctl ${PREFIX}/bin + ${INSTALL} ${FILESDIR}/bktrctl.sh ${PREFIX}/etc/rc.d +.endif + ${INSTALL} -m 4555 ${WRKSRC}/fmio ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/fmio.1 ${MANPREFIX}/man/man1 +post-install: +.if !defined(WITH_XTREME) + ${GREP} -v "bktrctl.sh" ${TMPPLIST} > ${TMPPLIST}.tmp + ${MV} -f ${TMPPLIST}.tmp ${TMPPLIST} +.endif + .include <bsd.port.mk> |