diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-04-24 11:40:26 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-04-24 11:40:26 +0000 |
commit | 562e91a37798b29de0f07d345aa022ba8eb9737a (patch) | |
tree | ff81163fade7abe077ecee47ec30fdfcb6bcc667 /audio/fmio | |
parent | ffe0c8c3058ecf4749461eb70ff4ed9c08482b63 (diff) | |
download | FreeBSD-ports-562e91a37798b29de0f07d345aa022ba8eb9737a.zip FreeBSD-ports-562e91a37798b29de0f07d345aa022ba8eb9737a.tar.gz |
Update port to the lastest version.
PR: 37401
Submitted by: Olexander Kunytsa <kunia@istc.kiev.ua>
Diffstat (limited to 'audio/fmio')
-rw-r--r-- | audio/fmio/Makefile | 28 | ||||
-rw-r--r-- | audio/fmio/distinfo | 2 | ||||
-rw-r--r-- | audio/fmio/files/bktrctl.sh | 91 | ||||
-rw-r--r-- | audio/fmio/pkg-plist | 1 |
4 files changed, 117 insertions, 5 deletions
diff --git a/audio/fmio/Makefile b/audio/fmio/Makefile index 431486b..d211423 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> diff --git a/audio/fmio/distinfo b/audio/fmio/distinfo index 4c7ef7a..f5f5f55 100644 --- a/audio/fmio/distinfo +++ b/audio/fmio/distinfo @@ -1 +1 @@ -MD5 (fmio-1.2.18.tar.gz) = 3260dfb3e9ae3a7baa9912bf26ec1d43 +MD5 (fmio-1.2.25.tar.gz) = 4dacdd09098e83866b9309d4d9abf289 diff --git a/audio/fmio/files/bktrctl.sh b/audio/fmio/files/bktrctl.sh new file mode 100644 index 0000000..5325885 --- /dev/null +++ b/audio/fmio/files/bktrctl.sh @@ -0,0 +1,91 @@ + +Apply the patch and add file given below + +diff -ur fmio.old/Makefile fmio/Makefile +--- fmio.old/Makefile Mon Mar 18 20:56:28 2002 ++++ fmio/Makefile Wed Apr 24 00:15:23 2002 +@@ -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,33 @@ + 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} files/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> +diff -ur fmio.old/distinfo fmio/distinfo +--- fmio.old/distinfo Mon Mar 18 20:56:28 2002 ++++ fmio/distinfo Tue Apr 23 14:55:43 2002 +@@ -1 +1 @@ +-MD5 (fmio-1.2.18.tar.gz) = 3260dfb3e9ae3a7baa9912bf26ec1d43 ++MD5 (fmio-1.2.25.tar.gz) = 4dacdd09098e83866b9309d4d9abf289 +diff -ur fmio.old/pkg-plist fmio/pkg-plist +--- fmio.old/pkg-plist Sat Apr 7 04:33:50 2001 ++++ fmio/pkg-plist Tue Apr 23 23:25:01 2002 +@@ -1 +1,2 @@ + bin/fmio ++etc/rc.d/bktrctl.sh + + +-------------- files/bktrctl.sh --------------------------- + +#!/bin/sh + + +if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then + echo "$0: Cannot determine the PREFIX" >&2 + exit 1 +fi + + +case "$1" in +start) + bktrctl 2>/dev/null >/dev/null && echo -n " bktrctl" + ;; +stop) + killall bktrctl && echo -n " bktrctl" + ;; +*) + echo "Usage: `basename $0` {start|stop}" >&2 + exit 64 + ;; +esac + +exit 0 diff --git a/audio/fmio/pkg-plist b/audio/fmio/pkg-plist index 9109d4d..42c5219 100644 --- a/audio/fmio/pkg-plist +++ b/audio/fmio/pkg-plist @@ -1 +1,2 @@ bin/fmio +etc/rc.d/bktrctl.sh |