diff options
author | rillig <rillig@pkgsrc.org> | 2006-03-10 22:32:21 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-03-10 22:32:21 +0000 |
commit | d26406609372cf6cd08964b3fc54f0dfd78476b3 (patch) | |
tree | df056a9f6a8e70143282f7608ee4a9891163229d /audio | |
parent | 3901c6559da1007ef8b7e4d59556859208112e2b (diff) | |
download | pkgsrc-d26406609372cf6cd08964b3fc54f0dfd78476b3.tar.gz |
Fixed pkglint warnings.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/wsoundserver/Makefile | 31 | ||||
-rw-r--r-- | audio/wsoundserver/buildlink3.mk | 4 |
2 files changed, 20 insertions, 15 deletions
diff --git a/audio/wsoundserver/Makefile b/audio/wsoundserver/Makefile index 44c27346e75..0f1f8c9ca59 100644 --- a/audio/wsoundserver/Makefile +++ b/audio/wsoundserver/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2006/03/09 21:04:42 jlam Exp $ +# $NetBSD: Makefile,v 1.31 2006/03/10 22:32:21 rillig Exp $ # DISTNAME= WSoundServer-0.4.0 @@ -14,34 +14,39 @@ COMMENT= Sound server for windowmaker USE_X11BASE= YES GNU_CONFIGURE= YES USE_LIBTOOL= YES -LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig +LTCONFIG_OVERRIDE+= ${WRKSRC:Q}/ltconfig CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} # not really needed PKG_SYSCONFSUBDIR= WindowMaker EGDIR= ${PREFIX}/share/examples/wsoundserver -CONF_FILES= ${EGDIR}/WMSound ${PKG_SYSCONFDIR}/WMSound +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 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 \ + set -e; \ + cd ${WRKSRC:Q}/doc; \ + for f in get-wsound-flags getsoundset setsoundset wsoundplay \ + wsoundserver; do \ g=`${ECHO} $$f | ${SED} "s/x$$//"`; \ - ${MV} $$f $$g; \ + ${MV} "$$f".1x "$$f".1; \ done ${SED} -e "s|@PREFIX@|${PREFIX}|g" \ - ${FILESDIR}/WMSound > ${WRKSRC}/WMSound + ${FILESDIR:Q}/WMSound > ${WRKSRC:Q}/WMSound post-install: - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/WMSound ${EGDIR} + ${INSTALL_DATA_DIR} ${EGDIR:Q} + ${INSTALL_DATA} ${WRKSRC:Q}/WMSound ${EGDIR:Q} .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "Interix" . include "../../audio/esound/buildlink3.mk" -CONFIGURE_FLAGS+= --enable-esound +CONFIGURE_ARGS+= --enable-esound .else . include "../../mk/oss.buildlink3.mk" .endif diff --git a/audio/wsoundserver/buildlink3.mk b/audio/wsoundserver/buildlink3.mk index 7402cf77227..40d12cbe8c8 100644 --- a/audio/wsoundserver/buildlink3.mk +++ b/audio/wsoundserver/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.5 2006/02/05 23:08:15 joerg Exp $ +# $NetBSD: buildlink3.mk,v 1.6 2006/03/10 22:32:21 rillig Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ WSOUNDSERVER_BUILDLINK3_MK:= ${WSOUNDSERVER_BUILDLINK3_MK}+ @@ -21,4 +21,4 @@ BUILDLINK_PKGSRCDIR.wsoundserver?= ../../audio/wsoundserver .include "../../devel/libproplist/buildlink3.mk" .include "../../wm/windowmaker/buildlink3.mk" -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |