2009-08-26 21:56:37 +02:00
|
|
|
# $NetBSD: Makefile,v 1.37 2009/08/26 19:56:49 sno Exp $
|
2001-03-12 22:10:25 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= WSoundServer-0.4.0
|
|
|
|
PKGNAME= wsoundserver-0.4.0
|
2009-08-26 21:56:37 +02:00
|
|
|
PKGREVISION= 10
|
2003-04-26 11:49:35 +02:00
|
|
|
CATEGORIES= audio wm windowmaker
|
2009-05-05 20:51:56 +02:00
|
|
|
MASTER_SITES= # ftp://shadowmere.student.utwente.nl/pub/WindowMaker/
|
2001-03-12 22:10:25 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2001-03-12 22:10:25 +01:00
|
|
|
HOMEPAGE= http://shadowmere.student.utwente.nl/
|
2003-07-21 18:24:36 +02:00
|
|
|
COMMENT= Sound server for windowmaker
|
2001-03-12 22:10:25 +01:00
|
|
|
|
2001-07-24 12:39:01 +02:00
|
|
|
USE_X11BASE= YES
|
2001-03-12 22:10:25 +01:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
USE_LIBTOOL= YES
|
|
|
|
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} # not really needed
|
2003-04-30 21:10:32 +02:00
|
|
|
PKG_SYSCONFSUBDIR= WindowMaker
|
|
|
|
EGDIR= ${PREFIX}/share/examples/wsoundserver
|
2006-03-10 23:32:21 +01:00
|
|
|
CONF_FILES= ${EGDIR:Q}/WMSound ${PKG_SYSCONFDIR:Q}/WMSound
|
|
|
|
|
|
|
|
SUBST_CLASSES+= 1x
|
|
|
|
SUBST_STAGE.1x= post-patch
|
|
|
|
SUBST_MESSAGE.1x= Changing the man page category from 1x to 1.
|
|
|
|
SUBST_FILES.1x= doc/*
|
|
|
|
SUBST_SED.1x= -e s,1x,1,g
|
2003-04-30 21:10:32 +02:00
|
|
|
|
2001-03-12 22:10:25 +01:00
|
|
|
post-patch:
|
2006-03-10 23:32:21 +01:00
|
|
|
set -e; \
|
|
|
|
cd ${WRKSRC:Q}/doc; \
|
|
|
|
for f in get-wsound-flags getsoundset setsoundset wsoundplay \
|
|
|
|
wsoundserver; do \
|
2001-03-12 22:10:25 +01:00
|
|
|
g=`${ECHO} $$f | ${SED} "s/x$$//"`; \
|
2006-03-10 23:32:21 +01:00
|
|
|
${MV} "$$f".1x "$$f".1; \
|
2001-03-12 22:10:25 +01:00
|
|
|
done
|
2001-07-24 12:39:01 +02:00
|
|
|
${SED} -e "s|@PREFIX@|${PREFIX}|g" \
|
2006-03-10 23:32:21 +01:00
|
|
|
${FILESDIR:Q}/WMSound > ${WRKSRC:Q}/WMSound
|
2001-03-12 22:10:25 +01:00
|
|
|
|
|
|
|
post-install:
|
2006-03-10 23:32:21 +01:00
|
|
|
${INSTALL_DATA_DIR} ${EGDIR:Q}
|
|
|
|
${INSTALL_DATA} ${WRKSRC:Q}/WMSound ${EGDIR:Q}
|
2001-03-12 22:10:25 +01:00
|
|
|
|
2005-10-31 17:43:05 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "Interix"
|
|
|
|
. include "../../audio/esound/buildlink3.mk"
|
2006-03-10 23:32:21 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-esound
|
2005-10-31 17:43:05 +01:00
|
|
|
.else
|
2006-03-09 22:04:39 +01:00
|
|
|
. include "../../mk/oss.buildlink3.mk"
|
2005-10-31 17:43:05 +01:00
|
|
|
.endif
|
|
|
|
|
2007-02-02 16:08:36 +01:00
|
|
|
BUILDLINK_DEPMETHOD.libXt?= build
|
|
|
|
|
2004-03-07 04:33:33 +01:00
|
|
|
.include "../../audio/libaudiofile/buildlink3.mk"
|
|
|
|
.include "../../devel/libdockapp/buildlink3.mk"
|
|
|
|
.include "../../devel/libproplist/buildlink3.mk"
|
|
|
|
.include "../../wm/windowmaker/buildlink3.mk"
|
2007-02-02 16:08:36 +01:00
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
2001-03-12 22:10:25 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|