# 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 ALL_TARGET= fspserver DOCDIR= share/doc/${PORTNAME} DOCFILES= BETA.README ChangeLog FILES INFO TODO INSTALL MACHINES GNU_CONFIGURE= yes MAN1= fspd.1 PLIST= ${WRKDIR}/pkg-plist WRKSRC= ${WRKDIR}/2.8.1 do-patch: ${PERL} -pi -e "s:/usr/fsp:${LOCALBASE}/etc:g" \ ${WRKSRC}/include/server_conf.h pre-install: ${ECHO} "sbin/fspd" > ${PLIST} .if !defined(NOPORTDOCS) .for i in ${DOCFILES} ${ECHO} ${DOCDIR}/${i} >> ${PLIST} .endfor ${ECHO} share/examples/fspd/example.conf >> ${PLIST} ${ECHO} @dirrm ${DOCDIR} >> ${PLIST} ${ECHO} @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