2012-10-23 19:18:07 +02:00
|
|
|
# $NetBSD: Makefile,v 1.11 2012/10/23 17:19:08 asau Exp $
|
2001-03-09 17:09:36 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= Sharity-Light.1.2
|
|
|
|
PKGNAME= sharity-light-1.2
|
2011-08-29 08:22:07 +02:00
|
|
|
PKGREVISION= 1
|
2001-03-09 17:09:36 +01:00
|
|
|
CATEGORIES= net
|
2006-10-14 09:59:09 +02:00
|
|
|
MASTER_SITES= http://www.obdev.at/ftp/pub/Products/Sharity-Light/
|
2001-03-09 17:09:36 +01:00
|
|
|
|
2009-01-12 17:19:07 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2006-10-14 09:59:09 +02:00
|
|
|
HOMEPAGE= http://www.obdev.at/products/sharity-light/
|
2001-03-09 17:09:36 +01:00
|
|
|
COMMENT= Userland smbfs -- SMB to NFS protocol converter
|
2011-04-03 11:01:46 +02:00
|
|
|
LICENSE= gnu-gpl-v2
|
2001-03-09 17:09:36 +01:00
|
|
|
|
2005-11-07 22:46:25 +01:00
|
|
|
NOT_FOR_PLATFORM= Interix-*-* # SMB is all native
|
|
|
|
|
2001-03-19 13:27:35 +01:00
|
|
|
# avoid picking up a bad value from a users environment
|
|
|
|
MAKE_ENV+= "ARCH= "
|
|
|
|
|
2007-01-07 10:13:46 +01:00
|
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
|
2005-06-17 05:50:19 +02:00
|
|
|
|
2001-03-09 17:09:36 +01:00
|
|
|
post-extract:
|
|
|
|
${MKDIR} ${WRKDIR}/unshlight
|
|
|
|
${LN} -s ${FILESDIR}/unshlight.c ${WRKDIR}/unshlight
|
|
|
|
${LN} -s ${FILESDIR}/Makefile.unshlight ${WRKDIR}/unshlight/Makefile
|
|
|
|
|
|
|
|
post-build:
|
|
|
|
cd ${WRKDIR}/unshlight && ${MAKE}
|
|
|
|
|
|
|
|
do-install:
|
2011-04-03 11:01:46 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/shlight ${DESTDIR}${PREFIX}/sbin
|
|
|
|
${INSTALL_PROGRAM} ${WRKDIR}/unshlight/unshlight ${DESTDIR}${PREFIX}/sbin
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/sharity-light
|
2001-03-09 17:09:36 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/FAQ.txt \
|
2011-04-03 11:01:46 +02:00
|
|
|
${DESTDIR}${PREFIX}/share/doc/sharity-light/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/smbmount.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/shlight.8
|
2001-03-09 17:09:36 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|