freebsd-ports/security/sfs/Makefile
Matthew N. Dodd f36fcd52f2 - Update documentation.
- Sanitize install script.
- Bump PORTREVISION.

Submitted by:		MAINTAINER
2002-07-12 05:31:41 +00:00

73 lines
1.8 KiB
Makefile

# Ports collection makefile for: sfs
# Date created: 2002-07-11
# Whom: Michael Handler <handler@grendel.net>
# Matthew Dodd <winter@jurai.net>
#
# $FreeBSD$
#
PORTNAME= sfs
PORTVERSION= 0.6
PORTREVISION= 1
CATEGORIES= security net
MASTER_SITES= http://www.fs.net/sfs/new-york.lcs.mit.edu:85xq6pznt4mgfvj4mb23x6b8adak55ue/pub/sfswww/dist/
MAINTAINER= handler@grendel.net
.include <bsd.port.pre.mk>
USE_GMAKE= yes
USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-sfsuser=sfs \
--with-sfsgroup=sfs \
--with-sfsdir=/var/spool/sfs \
--with-etcdir=${PREFIX}/etc/sfs \
--with-openssl=${OPENSSLBASE} \
--disable-uvfs
.if ${OSVERSION} > 500000
LIB_DEPENDS+= gmp.5:${PORTSDIR}/math/libgmp4
CONFIGURE_ARGS+=--with-gmp=${PREFIX}
.else
CONFIGURE_ARGS+=--with-gmp=/usr
.endif
MAN1= \
rex.1 \
sfsagent.1 \
sfskey.1 \
ssu.1
MAN5= \
sfs_config.5 \
sfs_users.5 \
sfscd_config.5 \
sfssd_config.5 \
sfs_srp_params.5 \
sfsauthd_config.5 \
sfsrwsd_config.5
MAN8= \
sfsauthd.8 \
sfscd.8 \
sfsrwsd.8 \
sfssd.8
post-extract:
@${SED} -e "s=%%PREFIX%%=${PREFIX}=g" ${FILESDIR}/sfscd.sh > ${WRKSRC}/sfscd.sh
@${SED} -e "s=%%PREFIX%%=${PREFIX}=g" ${FILESDIR}/sfssd.sh > ${WRKSRC}/sfssd.sh
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/sfscd.sh ${PREFIX}/etc/rc.d/sfscd.sh.sample
${INSTALL_SCRIPT} ${WRKSRC}/sfssd.sh ${PREFIX}/etc/rc.d/sfssd.sh.sample
${MKDIR} ${PREFIX}/etc/sfs
${INSTALL_DATA} ${FILESDIR}/etc-sfsrwsd_config.sample ${PREFIX}/etc/sfs/sfsrwsd_config.sample
${MKDIR} ${PREFIX}/share/doc/sfs
${INSTALL_DATA} ${FILESDIR}/share-doc-WELCOME ${PREFIX}/share/doc/sfs/WELCOME
${INSTALL_DATA} ${FILESDIR}/share-doc-README ${PREFIX}/share/doc/sfs/README
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/sfs/README.packageblurb
PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} POST-INSTALL
.include <bsd.port.post.mk>