2010-10-18 14:36:45 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.23 2010/10/18 18:36:57 espie Exp $
|
1999-02-18 16:26:04 -05:00
|
|
|
# $FreeBSD: Makefile,v 1.10 1999/01/06 17:11:23 dt Exp $
|
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= userland smbfs --- SMB to NFS protocols converter
|
2001-05-06 00:59:54 -04:00
|
|
|
|
2008-02-13 18:01:23 -05:00
|
|
|
VERSION= 1.3
|
2001-09-12 09:30:43 -04:00
|
|
|
DISTNAME= Sharity-Light.${VERSION}
|
2010-07-12 18:07:37 -04:00
|
|
|
PKGNAME= sharity-light-${VERSION}
|
|
|
|
REVISION= 0
|
1999-02-18 16:26:04 -05:00
|
|
|
CATEGORIES= net
|
2002-10-27 20:38:44 -05:00
|
|
|
|
2006-02-04 19:23:13 -05:00
|
|
|
MASTER_SITES= http://www.obdev.at/ftp/pub/Products/Sharity-Light/
|
1999-02-18 16:26:04 -05:00
|
|
|
|
2001-09-12 09:30:43 -04:00
|
|
|
HOMEPAGE= http://www.obdev.at/products/sharity-light/
|
1999-02-18 16:26:04 -05:00
|
|
|
|
2009-04-01 12:24:05 -04:00
|
|
|
# GPLv2
|
2000-06-20 11:51:20 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2009-04-01 12:24:05 -04:00
|
|
|
|
2004-12-15 19:31:20 -05:00
|
|
|
WANTLIB= c
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2010-10-18 14:36:45 -04:00
|
|
|
USE_GROFF = Yes
|
2009-04-01 12:24:05 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2000-02-09 13:07:15 -05:00
|
|
|
MAKE_FLAGS= ARCH="" THE_CC="${CC}" CFLAGS="${CFLAGS} -Wall"
|
1999-02-18 16:26:04 -05:00
|
|
|
|
|
|
|
post-extract:
|
2000-02-09 13:07:15 -05:00
|
|
|
@mkdir -p ${WRKSRC}/unshlight
|
|
|
|
@cp -f ${FILESDIR}/unshlight.c ${WRKSRC}/unshlight
|
|
|
|
@cp -f ${FILESDIR}/Makefile.unshlight ${WRKSRC}/unshlight/Makefile
|
1999-02-18 16:26:04 -05:00
|
|
|
|
|
|
|
post-build:
|
2001-09-12 09:30:43 -04:00
|
|
|
@cd ${WRKSRC}/unshlight && \
|
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS}
|
1999-02-18 16:26:04 -05:00
|
|
|
|
|
|
|
do-install:
|
2000-02-09 13:07:15 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/Sharity-Light
|
1999-02-18 16:26:04 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/shlight ${PREFIX}/sbin
|
2000-02-09 13:07:15 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/unshlight/unshlight ${PREFIX}/sbin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/Sharity-Light
|
1999-02-18 16:26:04 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/FAQ.txt ${PREFIX}/share/doc/Sharity-Light/FAQ
|
2000-06-20 11:51:20 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/smbmount.8 ${PREFIX}/man/man8/sh-smbmount.8
|
1999-02-18 16:26:04 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|