c487cb967a
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.27 2004/10/03 00:13:08 tv Exp $
|
|
#
|
|
|
|
DISTNAME= mserv-0.35
|
|
PKGREVISION= 11
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://www.mserv.org/download/
|
|
|
|
MAINTAINER= martin@NetBSD.org
|
|
HOMEPAGE= http://www.mserv.org/
|
|
COMMENT= Local centralised music server environment
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/mserv
|
|
CONFIGURE_ENV+= MY_LIBS="-lvorbisfile -lvorbis"
|
|
USE_BUILDLINK3= yes
|
|
USE_LIBTOOL= yes
|
|
|
|
REPLACE_PERL= support/mservedit webclient/main.cgi \
|
|
webclient/margin.cgi webclient/mserv.cgi
|
|
|
|
LDFLAGS.SunOS+= -lnsl -lsocket
|
|
|
|
post-configure:
|
|
${MV} ${WRKSRC}/mserv/soundcard.h ${WRKSRC}/mserv/mservsoundcard.h
|
|
|
|
post-install:
|
|
${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/libvorbis/buildlink3.mk"
|
|
.include "../../multimedia/libogg/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|