openbsd-ports/audio/wsoundserver/Makefile

59 lines
1.5 KiB
Makefile
Raw Normal View History

2001-10-31 06:59:50 -05:00
# $OpenBSD: Makefile,v 1.15 2001/10/31 11:59:50 wilfried Exp $
COMMENT= 'sound server for Window Maker'
DISTNAME= WSoundServer-0.4.0
PKGNAME= ${DISTNAME:L}
CATEGORIES= audio
2001-10-25 18:34:48 -04:00
NEED_VERSION= 1.482
HOMEPAGE= http://shadowmere.student.utwente.nl/
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2001-03-14 07:23:10 -05:00
MASTER_SITES= ftp://shadowmere.student.utwente.nl/pub/WindowMaker/ \
ftp://ftp.sra.co.jp/pub/os/FreeBSD/distfiles/
2001-10-31 06:59:50 -05:00
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.0-ltconfig \
${PORTSDIR}/infrastructure/patches/patch-lt1.3.0-ltmain_sh \
patch-*
2001-10-25 18:34:48 -04:00
RUN_DEPENDS= ::x11/windowmaker
2001-05-21 10:11:29 -04:00
LIB_DEPENDS= wraster.4::x11/windowmaker \
PropList.2::devel/libproplist \
audiofile::devel/libaudiofile \
dockapp::devel/libdockapp
USE_X11= Yes
2001-10-25 18:34:48 -04:00
NO_REGRESS= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} --enable-static
FLAVORS= esd
FLAVOR?=
.if ${FLAVOR:L:Mesd}
LIB_DEPENDS+= esd::audio/esound
CONFIGURE_ARGS+= --enable-esd
.else
CONFIGURE_ARGS+= --disable-esd
.endif
post-patch:
@touch ${WRKSRC}/aclocal.m4 ${WRKSRC}/configure
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/wsoundserver
${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/wsoundserver
${INSTALL_DATA_DIR} ${PREFIX}/share/WindowMaker/Defaults/WindowMaker
@sed -e s,@PREFIX@,${TRUEPREFIX},g < \
${FILESDIR}/WMSound > ${WRKBUILD}/WMSound
${INSTALL_DATA} ${WRKBUILD}/WMSound ${PREFIX}/share/WindowMaker/Defaults/WindowMaker/WMSound
.include <bsd.port.mk>