1997-06-10 09:10:03 +00:00
|
|
|
# New ports collection makefile for: mpd
|
1998-09-19 22:45:44 +00:00
|
|
|
# Version required: 1.0b5
|
1997-09-11 00:12:17 +00:00
|
|
|
# Date created: 16 May 1997
|
1997-06-10 09:10:03 +00:00
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1998-09-19 22:45:44 +00:00
|
|
|
# $Id: Makefile,v 1.7 1998/01/15 03:42:31 steve Exp $
|
1997-06-10 09:10:03 +00:00
|
|
|
#
|
|
|
|
|
1998-09-19 22:45:44 +00:00
|
|
|
DISTNAME= mpd-1.0b5
|
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ftp://ftp.whistle.com/pub/archie/mpd/
|
|
|
|
EXTRACT_SUFX= .tgz
|
1997-06-10 09:10:03 +00:00
|
|
|
|
1998-09-19 22:45:44 +00:00
|
|
|
MAINTAINER= andy@icc.surw.chel.su
|
1997-06-10 09:10:03 +00:00
|
|
|
|
1998-09-19 22:45:44 +00:00
|
|
|
OSVERSION!= sysctl -n kern.osreldate
|
1997-06-10 09:10:03 +00:00
|
|
|
|
1998-09-19 22:45:44 +00:00
|
|
|
WRKSRC= ${WRKDIR}/mpd-1.0b5/src
|
|
|
|
ALL_TARGET= depend all
|
|
|
|
MAN1= mpd.1
|
1997-06-10 09:10:03 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@ ${INSTALL_PROGRAM} ${WRKSRC}/mpd ${PREFIX}/sbin/mpd
|
|
|
|
@ ${INSTALL_MAN} ${WRKSRC}/mpd.1 ${PREFIX}/man/man1
|
|
|
|
@ ${MKDIR} ${PREFIX}/etc/mpd
|
|
|
|
.for file in mpd.conf mpd.links mpd.script mpd.secret
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/../conf/${file} ${PREFIX}/etc/mpd/${file}.sample
|
|
|
|
.endfor
|
1998-09-19 22:45:44 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
1997-06-10 09:10:03 +00:00
|
|
|
@ ${MKDIR} ${PREFIX}/share/doc/mpd
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/../README ${PREFIX}/share/doc/mpd/README
|
1998-09-19 22:45:44 +00:00
|
|
|
.for file in CHANGES PROTOS EQL.patch README.code README.commands README.scripts README.server
|
1997-06-10 09:10:03 +00:00
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/../docs/${file} ${PREFIX}/share/doc/mpd
|
|
|
|
.endfor
|
1998-09-19 22:45:44 +00:00
|
|
|
.endif
|
1997-06-10 09:10:03 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|