diff options
Diffstat (limited to 'audio/mserv/Makefile')
-rw-r--r-- | audio/mserv/Makefile | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/audio/mserv/Makefile b/audio/mserv/Makefile index 2a5a0dd69e1..f26c5fcacd4 100644 --- a/audio/mserv/Makefile +++ b/audio/mserv/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.11 2003/09/03 12:35:12 martin Exp $ +# $NetBSD: Makefile,v 1.12 2003/09/03 19:55:25 abs Exp $ # DISTNAME= mserv-0.35 +PKGREVISION= 1 CATEGORIES= audio MASTER_SITES= http://www.mserv.org/download/ @@ -10,22 +11,29 @@ HOMEPAGE= http://www.mserv.org/ COMMENT= Local centralised music server environment DEPENDS+= mpg123-[0-9]*:../mpg123 -GNU_CONFIGURE= -REPLACE_PERL= mserv/mservedit webclient/main.cgi webclient/margin.cgi webclient/mserv.cgi +GNU_CONFIGURE= yes +CONFIGURE_ENV+= MY_LIBS="-lvorbisfile -lvorbis" +CONFIGURE_ARGS+=--datadir=${PREFIX}/share/mserv +USE_BUILDLINK2= yes +REPLACE_PERL= support/mservedit webclient/main.cgi webclient/margin.cgi webclient/mserv.cgi post-configure: - ${MV} ${WRKSRC}/mserv/soundcard.h ${WRKSRC}/mserv/mservsoundcard.h + ${MV} ${WRKSRC}/mserv/soundcard.h ${WRKSRC}/mserv/mservsoundcard.h post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mserv - ${INSTALL_DATA} \ - ${WRKSRC}/INSTALL \ - ${WRKSRC}/LICENSE \ - ${PREFIX}/share/doc/mserv - ${INSTALL_DATA_DIR} ${PREFIX}/share/mserv/webclient - ${INSTALL_DATA} \ - ${WRKSRC}/webclient/* \ - ${PREFIX}/share/mserv/webclient + ${INSTALL_SCRIPT} ${WRKSRC}/support/mservedit ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mserv + ${INSTALL_DATA} \ + ${WRKSRC}/INSTALL \ + ${WRKSRC}/LICENSE \ + ${PREFIX}/share/doc/mserv + ${INSTALL_DATA_DIR} ${PREFIX}/share/mserv/webclient + ${INSTALL_DATA} \ + ${WRKSRC}/webclient/* \ + ${PREFIX}/share/mserv/webclient + +.include "../../audio/libogg/buildlink2.mk" +.include "../../audio/libvorbis/buildlink2.mk" .include "../../mk/bsd.pkg.mk" |