summaryrefslogtreecommitdiff
path: root/net/mpd/Makefile
blob: e33f54edac02acabb0f39fbfa067a1fbe47b71fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:	mpd
# Version required:			1.0b3
# Date created:				16 May 1997
# Whom:					Andrey Zakhvatov
#
# $Id: Makefile,v 1.1.1.1 1997/06/10 09:10:03 asami Exp $
#

DISTNAME=		mpd-1.0b3
CATEGORIES=		net
MASTER_SITES=		${MASTER_SITE_LOCAL}
EXTRACT_SUFX=		.tgz

MAINTAINER=		andy@icc.surw.chel.su

OSVERSION!=     sysctl -n kern.osreldate
.if ${OSVERSION} >= 300000
BROKEN=			if_tun.h
.endif

WRKSRC=			${WRKDIR}/mpd-1.0b3/src
ALL_TARGET=		depend all
MAN1=			mpd.1

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
	@ ${MKDIR} ${PREFIX}/share/doc/mpd
	@ ${INSTALL_DATA} ${WRKSRC}/../README ${PREFIX}/share/doc/mpd/README
.for file in CHANGES PROTOS README.code README.commands README.scripts
	@ ${INSTALL_DATA} ${WRKSRC}/../docs/${file} ${PREFIX}/share/doc/mpd
.endfor

.include <bsd.port.mk>