diff options
author | jmmv <jmmv@pkgsrc.org> | 2003-09-19 21:32:11 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2003-09-19 21:32:11 +0000 |
commit | 39ac9b05325af6d51f1f15aaaab7f93018410693 (patch) | |
tree | b920f8d00046316d64a1abdeab5385b8c72b6138 /chat/centericq/Makefile | |
parent | 29a5e3c4d09f02683e6f47aed751914167a58a9d (diff) | |
download | pkgsrc-39ac9b05325af6d51f1f15aaaab7f93018410693.tar.gz |
Use 'audioplay' under NetBSD to play sounds, and 'play' from the 'sox' package
under other systems. Bump PKGREVISION to 1.
Diffstat (limited to 'chat/centericq/Makefile')
-rw-r--r-- | chat/centericq/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/chat/centericq/Makefile b/chat/centericq/Makefile index d2383e3f79c..dac26d4d777 100644 --- a/chat/centericq/Makefile +++ b/chat/centericq/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.28 2003/09/02 00:15:40 seb Exp $ +# $NetBSD: Makefile,v 1.29 2003/09/19 21:32:11 jmmv Exp $ # DISTNAME= centericq-4.9.6 +PKGREVISION= 1 CATEGORIES= chat MASTER_SITES= http://konst.org.ua/download/ EXTRACT_SUFX= .tar.bz2 @@ -26,6 +27,17 @@ REPLACE_PERL= misc/cicqconv INCOMPAT_CURSES+= NetBSD-1.[45]*-* NetBSD-1.6-* NetBSD-1.6.[1-9]-* INCOMPAT_CURSES+= NetBSD-1.6_*-* NetBSD-1.6.[1-9]_*-* NetBSD-1.6[A-T]-* +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" +CPPFLAGS+= -DAUDIO_PLAYER=\"\\\"/usr/bin/audioplay\\\"\" +.else +DEPENDS+= sox>=12.17.4:../../audio/sox +SOX_PREFIX_DEFAULT= ${LOCALBASE} +EVAL_PREFIX+= SOX_PREFIX=sox +CPPFLAGS+= -DAUDIO_PLAYER=\"\\\"${SOX_PREFIX}/bin/play\\\"\" +.endif + .include "../../converters/libiconv/buildlink2.mk" .include "../../devel/gettext-lib/buildlink2.mk" .include "../../devel/ncurses/buildlink2.mk" |