openbsd-ports/net/sharity-light/Makefile

42 lines
1.3 KiB
Makefile
Raw Normal View History

2002-03-21 16:09:16 -05:00
# $OpenBSD: Makefile,v 1.15 2002/03/21 21:09:20 espie Exp $
# $FreeBSD: Makefile,v 1.10 1999/01/06 17:11:23 dt Exp $
COMMENT= "userland smbfs --- SMB to NFS protocols converter"
VERSION= 1.2
DISTNAME= Sharity-Light.${VERSION}
PKGNAME= sharity-light-${VERSION}
CATEGORIES= net
2002-03-21 16:09:16 -05:00
NEED_VERSION= 1.515
MASTER_SITES= ftp://ftp.obdev.at/pub/Products/Sharity-Light/ \
ftp://ftp.warpnet.ro/mirrors/ftp.obdev.at/pub/Products/Sharity-Light/
HOMEPAGE= http://www.obdev.at/products/sharity-light/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-02-12 03:02:07 -05:00
MAKE_FLAGS= ARCH="" THE_CC="${CC}" CFLAGS="${CFLAGS} -Wall"
post-extract:
@mkdir -p ${WRKSRC}/unshlight
@cp -f ${FILESDIR}/unshlight.c ${WRKSRC}/unshlight
@cp -f ${FILESDIR}/Makefile.unshlight ${WRKSRC}/unshlight/Makefile
post-build:
@cd ${WRKSRC}/unshlight && \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS}
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/Sharity-Light
${INSTALL_PROGRAM} ${WRKSRC}/shlight ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/unshlight/unshlight ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/Sharity-Light
${INSTALL_DATA} ${WRKSRC}/FAQ.txt ${PREFIX}/share/doc/Sharity-Light/FAQ
${INSTALL_MAN} ${WRKSRC}/smbmount.8 ${PREFIX}/man/man8/sh-smbmount.8
.include <bsd.port.mk>