blob: 4bac9fbef8d75ac7eeedfb3d5ed560c653f6a7b3 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# New ports collection makefile for: fspd
# Date created: 2001-04-10
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= fspd
PORTVERSION= 2.8.1.3
CATEGORIES= net
MASTER_SITES= ftp://ftp.netsw.org/net/ip/filetrans/fsp/
DISTNAME= fsp.281-B3
MAINTAINER= trevor@FreeBSD.org
COMMENT= FSP daemon
ALL_TARGET= fspserver
DOCDIR= share/doc/${PORTNAME}
DOCFILES= BETA.README ChangeLog FILES INFO TODO INSTALL MACHINES
USE_REINPLACE= yes
GNU_CONFIGURE= yes
MAN1= fspd.1
PLIST= ${WRKDIR}/pkg-plist
WRKSRC= ${WRKDIR}/2.8.1
do-patch:
${REINPLACE_CMD} -e "s:/usr/fsp:${LOCALBASE}/etc:g" \
${WRKSRC}/include/server_conf.h
pre-install:
${ECHO_CMD} "sbin/fspd" > ${PLIST}
.if !defined(NOPORTDOCS)
.for i in ${DOCFILES}
${ECHO_CMD} ${DOCDIR}/${i} >> ${PLIST}
.endfor
${ECHO_CMD} share/examples/fspd/example.conf >> ${PLIST}
${ECHO_CMD} @dirrm ${DOCDIR} >> ${PLIST}
${ECHO_CMD} @dirrm share/examples/fspd >> ${PLIST}
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/server/fspd ${LOCALBASE}/sbin
.if !defined(NO_INSTALL_MANPAGES)
${INSTALL_MAN} ${WRKSRC}/man/man1/fspd.1 ${LOCALBASE}/man/man1/
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/examples/fspd ${PREFIX}/${DOCDIR}
.for i in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/example.conf ${PREFIX}/share/examples/fspd
.endif
.include <bsd.port.mk>
|