openbsd-ports/plan9/u9fs/Makefile
jasper c31ae32b24 import u9fs
U9fs is a program that serves Unix files to Plan 9 machines using the 9P
protocol. Its standard input and output are connected to a network
connection, typically TCP on an Ethernet. It assumes Plan 9 uids match
Unix login names, and changes to the corresponding Unix effective uid
when processing requests. Characters in file and directory names
unacceptable to Plan 9 are translated into a three-character sequence:
followed by two hexadecimal digits. U9fs serves both 9P1 (the 9P
protocol as used by the second and third editions of Plan 9) and 9P2000.

from Stanley Lieber (MAINTAINER), with some tweaks by me.
ok sthen@
2011-03-16 08:44:49 +00:00

33 lines
619 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2011/03/16 08:44:49 jasper Exp $
COMMENT= serve 9P from Unix
DISTNAME= u9fs-20110118
CATEGORIES= plan9
MASTER_SITES= http://plan9.bell-labs.com/sources/contrib/sl/u9fs/ \
http://openbsd.stanleylieber.com/u9fs/
EXTRACT_SUFX= -src.tgz
MAINTAINER= Stanley Lieber <stanley.lieber@gmail.com>
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
WRKDIST= ${WRKDIR}
MAKE_FILE= makefile
MAKE_FLAGS= CC=${CC}
NO_REGRESS= Yes
do-install:
${INSTALL_PROGRAM} ${WRKDIST}/u9fs ${PREFIX}/bin/u9fs
.include <bsd.port.mk>