2002-04-19 08:43:56 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2002/04/19 12:43:56 wilfried Exp $
|
2001-03-28 04:59:37 -05:00
|
|
|
|
|
|
|
COMMENT= 'sound server for Window Maker'
|
2001-01-09 15:59:34 -05:00
|
|
|
|
2001-03-09 09:28:45 -05:00
|
|
|
DISTNAME= WSoundServer-0.4.0
|
|
|
|
PKGNAME= ${DISTNAME:L}
|
|
|
|
CATEGORIES= audio
|
2002-03-19 05:11:16 -05:00
|
|
|
NEED_VERSION= 1.513
|
2001-01-09 15:59:34 -05:00
|
|
|
|
2001-03-09 09:28:45 -05:00
|
|
|
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
|
2001-01-09 15:59:34 -05:00
|
|
|
|
2002-04-19 08:43:56 -04:00
|
|
|
# BSD
|
2001-01-09 15:59:34 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2002-04-19 08:43:56 -04:00
|
|
|
MASTER_SITES= ftp://shadowmere.student.utwente.nl/pub/WindowMaker/
|
2001-03-09 09:28:45 -05:00
|
|
|
|
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-11-14 08:58:34 -05:00
|
|
|
RUN_DEPENDS= :windowmaker-*:x11/windowmaker
|
2001-05-21 10:11:29 -04:00
|
|
|
LIB_DEPENDS= wraster.4::x11/windowmaker \
|
2001-03-09 09:28:45 -05:00
|
|
|
PropList.2::devel/libproplist \
|
|
|
|
audiofile::devel/libaudiofile \
|
|
|
|
dockapp::devel/libdockapp
|
2001-01-09 15:59:34 -05:00
|
|
|
|
2001-03-09 09:28:45 -05:00
|
|
|
USE_X11= Yes
|
2001-10-25 18:34:48 -04:00
|
|
|
NO_REGRESS= Yes
|
2001-03-09 09:28:45 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} --enable-static
|
2001-01-09 15:59:34 -05:00
|
|
|
|
2001-03-09 09:28:45 -05:00
|
|
|
FLAVORS= esd
|
2001-01-09 15:59:34 -05:00
|
|
|
FLAVOR?=
|
|
|
|
|
2001-03-09 09:28:45 -05:00
|
|
|
.if ${FLAVOR:L:Mesd}
|
|
|
|
LIB_DEPENDS+= esd::audio/esound
|
|
|
|
CONFIGURE_ARGS+= --enable-esd
|
2001-02-18 16:09:06 -05:00
|
|
|
.else
|
2001-03-09 09:28:45 -05:00
|
|
|
CONFIGURE_ARGS+= --disable-esd
|
2001-01-09 15:59:34 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
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
|
2001-02-18 16:09:06 -05:00
|
|
|
@sed -e s,@PREFIX@,${TRUEPREFIX},g < \
|
|
|
|
${FILESDIR}/WMSound > ${WRKBUILD}/WMSound
|
2001-01-09 15:59:34 -05:00
|
|
|
${INSTALL_DATA} ${WRKBUILD}/WMSound ${PREFIX}/share/WindowMaker/Defaults/WindowMaker/WMSound
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|