1998-07-06 19:32:07 +00:00
|
|
|
# New ports collection makefile for: sharity-light
|
|
|
|
# Version required: 1.0
|
1997-07-15 14:09:19 +00:00
|
|
|
# Date created: 14 June 1997
|
|
|
|
# Whom: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
|
|
|
|
#
|
1998-10-14 00:26:49 +00:00
|
|
|
# $Id: Makefile,v 1.6 1998/07/07 19:17:15 dt Exp $
|
1997-07-15 14:09:19 +00:00
|
|
|
#
|
|
|
|
|
1998-07-06 19:32:07 +00:00
|
|
|
DISTNAME= Sharity-Light.1.0.s
|
|
|
|
PKGNAME= sharity-light-1.0
|
1997-07-15 14:09:19 +00:00
|
|
|
CATEGORIES= net
|
1998-07-07 19:17:15 +00:00
|
|
|
MASTER_SITES= ftp://ftp.obdev.at/pub/Products/Sharity-Light/ \
|
|
|
|
ftp://ftp.rhrz.uni-bonn.de/pub-koeln/net/samba/ \
|
|
|
|
ftp://ftp.warpnet.ro/mirrors/ftp.obdev.at/pub/Products/Sharity-Light/
|
1997-07-15 14:09:19 +00:00
|
|
|
|
1998-06-24 18:01:18 +00:00
|
|
|
MAINTAINER= dt@FreeBSD.ORG
|
1997-07-15 14:09:19 +00:00
|
|
|
|
1998-10-14 00:26:49 +00:00
|
|
|
OSVERSION!= sysctl -n kern.osreldate
|
|
|
|
.if ${OSVERSION} >= 300000
|
|
|
|
BROKEN= MOUNT_NFS undeclared
|
|
|
|
.endif
|
|
|
|
|
1997-07-15 14:09:19 +00:00
|
|
|
MAN8= smbmount.8
|
|
|
|
|
|
|
|
post-extract:
|
1998-07-06 19:32:07 +00:00
|
|
|
@${MKDIR} work/unshlight
|
|
|
|
@${CP} ${FILESDIR}/unshlight.c ${WRKDIR}/unshlight
|
|
|
|
@${CP} files/Makefile.unshlight ${WRKDIR}/unshlight/Makefile
|
1997-07-15 14:09:19 +00:00
|
|
|
|
|
|
|
post-build:
|
1998-07-06 19:32:07 +00:00
|
|
|
cd ${WRKDIR}/unshlight && make
|
1997-07-15 14:09:19 +00:00
|
|
|
|
|
|
|
do-install:
|
1998-07-06 19:32:07 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/shlight ${PREFIX}/sbin
|
|
|
|
${INSTALL_PROGRAM} ${WRKDIR}/unshlight/unshlight ${PREFIX}/sbin
|
1997-07-15 14:09:19 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
1998-07-06 19:32:07 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/Sharity-Light
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/Sharity-Light/README
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/FAQ.txt ${PREFIX}/share/doc/Sharity-Light/FAQ
|
1997-07-15 14:09:19 +00:00
|
|
|
.endif
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/smbmount.8 ${PREFIX}/man/man8
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|