853d7d06e7
- bump NEED_VERSION - run ispell & fmt on DESCR
55 lines
1.4 KiB
Makefile
55 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.11 2001/03/28 10:01:22 wilfried Exp $
|
|
|
|
COMMENT= 'sound server for Window Maker'
|
|
|
|
DISTNAME= WSoundServer-0.4.0
|
|
PKGNAME= ${DISTNAME:L}
|
|
CATEGORIES= audio
|
|
NEED_VERSION= 1.364
|
|
|
|
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
|
|
|
|
MASTER_SITES= ftp://shadowmere.student.utwente.nl/pub/WindowMaker/ \
|
|
ftp://ftp.funet.fi/pub/FreeBSD/eurocrypt/distfiles/ \
|
|
ftp://ftp.sra.co.jp/pub/os/FreeBSD/distfiles/
|
|
|
|
RUN_DEPENDS= wmaker::x11/windowmaker
|
|
LIB_DEPENDS= wraster.2::x11/windowmaker \
|
|
PropList.2::devel/libproplist \
|
|
audiofile::devel/libaudiofile \
|
|
dockapp::devel/libdockapp
|
|
|
|
USE_X11= 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>
|