bceeabfbd9
- Regenerate PLIST - Bump PKGNAME
55 lines
1.5 KiB
Makefile
55 lines
1.5 KiB
Makefile
# $OpenBSD: Makefile,v 1.22 2005/01/04 10:58:16 alek Exp $
|
|
|
|
COMMENT= 'sound server for Window Maker'
|
|
|
|
DISTNAME= WSoundServer-0.4.0
|
|
PKGNAME= ${DISTNAME:L}p0
|
|
CATEGORIES= audio
|
|
|
|
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= X11 Xext Xpm c m ossaudio
|
|
|
|
MASTER_SITES= ftp://shadowmere.student.utwente.nl/pub/WindowMaker/
|
|
|
|
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.0-ltconfig \
|
|
${PORTSDIR}/infrastructure/patches/patch-lt1.3.0-ltmain_sh \
|
|
patch-*
|
|
|
|
RUN_DEPENDS= :windowmaker-*:x11/windowmaker
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
LIB_DEPENDS= PropList.2::devel/libproplist \
|
|
audiofile::devel/libaudiofile \
|
|
dockapp::devel/libdockapp
|
|
|
|
USE_X11= Yes
|
|
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
|
|
BUILD_DEPENDS+= esd::audio/esound
|
|
CONFIGURE_ARGS+= --disable-esd
|
|
.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
|
|
@sed -e s,@PREFIX@,${TRUEPREFIX},g < \
|
|
${FILESDIR}/WMSound > ${WRKBUILD}/WMSound
|
|
${INSTALL_DATA} ${WRKBUILD}/WMSound ${PREFIX}/share/WindowMaker/Defaults/WindowMaker/WMSound
|
|
|
|
.include <bsd.port.mk>
|