mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
68 lines
1.8 KiB
Makefile
68 lines
1.8 KiB
Makefile
# New ports collection makefile for: fspd
|
|
# Date created: 2001-04-10
|
|
# Whom: trevor
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= fspd
|
|
PORTVERSION= 2.8.1.19
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= fsp
|
|
DISTNAME= fsp-2.8.1b19
|
|
|
|
MAINTAINER= trevor@FreeBSD.org
|
|
COMMENT= FSP daemon, clients and scanner
|
|
|
|
CLIENTS= fcatcmd fcdcmd fducmd ffindcmd fgetcmd fgrabcmd fhostcmd \
|
|
flscmd fmkdir fprocmd fput frmcmd frmdircmd fver fspmerge \
|
|
fstatcmd
|
|
DOCDIR= share/doc/${PORTNAME}
|
|
PORTDOCS= BETA.README COPYRIGHT ChangeLog FILES INFO INSTALL MACHINES TODO
|
|
MAN1= fcat.1 fcatcmd.1 fcd.1 fcdcmd.1 fdu.1 fducmd.1 ffind.1 \
|
|
ffindcmd.1 fget.1 fgetcmd.1 fgrab.1 fgrabcmd.1 fhost.1 \
|
|
fhostcmd.1 fls.1 flscmd.1 fmkdir.1 fpro.1 fprocmd.1 fput.1 \
|
|
frm.1 frmcmd.1 frmdir.1 frmdircmd.1 fspd.1 fspscan.1 fver.1 \
|
|
fstatcmd.1
|
|
MAN5= fsp_prof.5
|
|
PLIST_FILES= bin/fspd bin/fspscan etc/fspd.conf.sample
|
|
OPTIONS= NOCLIENTS "Omit client commands" off
|
|
GNU_CONFIGURE= yes
|
|
USE_BZIP2= yes
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000 || ${ARCH} != "i386"
|
|
BROKEN= "Does not compile on 4.x or on !i386"
|
|
.endif
|
|
|
|
.if !defined(WITH_NOCLIENTS)
|
|
.for command in ${CLIENTS}
|
|
PLIST_FILES+= bin/${command}
|
|
.endfor
|
|
.endif
|
|
|
|
do-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for doc in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
.if !defined(WITH_NOCLIENTS)
|
|
.for command in ${CLIENTS}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/clients/${command} ${PREFIX}/bin
|
|
.endfor
|
|
.endif
|
|
${INSTALL_PROGRAM} ${WRKSRC}/contrib/fspscan ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/server/fspd ${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/fspd.conf ${PREFIX}/etc/fspd.conf.sample
|
|
.for page in ${MAN1}
|
|
${INSTALL_MAN} ${WRKSRC}/man/${page} ${PREFIX}/man/man1
|
|
.endfor
|
|
${INSTALL_MAN} ${WRKSRC}/man/${MAN5} ${PREFIX}/man/man5
|
|
|
|
.include <bsd.port.post.mk>
|