pkgsrc/audio/wsoundserver/Makefile
jlam a4bc16d30c I am a triple idiot. The only relevant variable that x11.buildlink.mk
redefines about which buildlink.mk files would care is BUILDLINK_X11_DIR,
which points to the location of the X11R6 hierarchy used during building.
If x11.buildlink.mk isn't included, then BUILDLINK_X11_DIR defaults to
${X11BASE} (set in bsd.pkg.mk), so its value is always safe to use.  Remove
the ifdefs surrounding the use of BUILDLINK_X11_DIR in tk/buildlink.mk and
revert changes to move x11.buildlink.mk before the other buildlink.mk files.
2001-10-24 22:10:43 +00:00

42 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2001/10/24 22:10:44 jlam Exp $
#
DISTNAME= WSoundServer-0.4.0
PKGNAME= wsoundserver-0.4.0
CATEGORIES= audio wm
MASTER_SITES= ftp://shadowmere.student.utwente.nl/pub/WindowMaker/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://shadowmere.student.utwente.nl/
COMMENT= sound server for windowmaker
USE_BUILDLINK_ONLY= YES
REPLACE_BUILDLINK= wslib/get-wsound-flags
USE_X11BASE= YES
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
post-patch:
@cd ${WRKSRC}/doc && for f in *; do \
${SED} "s/1x/1/g" $$f > $$f.tmp && ${MV} $$f.tmp $$f; \
done && \
for f in get-wsound-flags.1x getsoundset.1x setsoundset.1x \
wsoundplay.1x wsoundserver.1x; do \
g=`${ECHO} $$f | ${SED} "s/x$$//"`; \
${MV} $$f $$g; \
done
${SED} -e "s|@PREFIX@|${PREFIX}|g" \
${FILESDIR}/WMSound > ${WRKSRC}/WMSound
post-install:
${INSTALL_DATA} ${WRKSRC}/WMSound ${PREFIX}/etc/WindowMaker
.include "../../audio/libaudiofile/buildlink.mk"
.include "../../devel/libdockapp/buildlink.mk"
.include "../../devel/libproplist/buildlink.mk"
.include "../../wm/windowmaker/buildlink.mk"
.include "../../mk/ossaudio.buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"