openbsd-ports/net/sharity-light/Makefile

40 lines
1.2 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: sharity-light
# Version required: 1.0
# Date created: 14 June 1997
# Whom: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
#
# $OpenBSD: Makefile,v 1.1.1.1 1999/02/18 21:26:04 marc Exp $
# $FreeBSD: Makefile,v 1.10 1999/01/06 17:11:23 dt Exp $
#
DISTNAME= Sharity-Light.1.2
PKGNAME= sharity-light-1.2
CATEGORIES= net
MASTER_SITES= ftp://ftp.obdev.at/pub/Products/Sharity-Light/ \
ftp://ftp.warpnet.ro/mirrors/ftp.obdev.at/pub/Products/Sharity-Light/ \
http://www.freebsd.org/~dt/distfiles/
MAINTAINER= dt@FreeBSD.ORG
MAN8= smbmount.8
post-extract:
@${MKDIR} ${WRKDIR}/unshlight
@${CP} ${FILESDIR}/unshlight.c ${WRKDIR}/unshlight
@${CP} ${FILESDIR}/Makefile.unshlight ${WRKDIR}/unshlight/Makefile
post-build:
cd ${WRKDIR}/unshlight && make
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/shlight ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKDIR}/unshlight/unshlight ${PREFIX}/sbin
.if !defined(NOPORTDOCS)
${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
.endif
${INSTALL_MAN} ${WRKSRC}/smbmount.8 ${PREFIX}/man/man8
.include <bsd.port.mk>