ports/56225: [NEW PORT] palm/uppc-kmod: USB device driver for Windows CE handhelds

Sam Lawrance boris at brooknet.com.au
Thu Nov 13 00:40:17 UTC 2003


The following reply was made to PR ports/56225; it has been noted by GNATS.

From: Sam Lawrance <boris at brooknet.com.au>
To: freebsd-gnats-submit at FreeBSD.org, boris at brooknet.com.au
Cc:  
Subject: Re: ports/56225: [NEW PORT] palm/uppc-kmod: USB device driver for
	Windows CE handhelds
Date: Thu, 13 Nov 2003 11:34:21 +1100

 Uppc-kmod has changed a fair bit since this PR was submitted, so here is a
 new shar of the port. Disregard the shar and patch above.
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	uppc-kmod/Makefile
 #	uppc-kmod/distinfo
 #	uppc-kmod/pkg-descr
 #	uppc-kmod/pkg-plist
 #
 echo x - uppc-kmod/Makefile
 sed 's/^X//' >uppc-kmod/Makefile << 'END-of-uppc-kmod/Makefile'
 X# New ports collection makefile for:	uppc-kmod
 X# Date created:				31 August 2003
 X# Whom:					Sam Lawrance <boris at brooknet.com.au>
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	uppc
 XPORTVERSION=	0.4
 XCATEGORIES=	palm
 XMASTER_SITES=	http://sam.stral.net/freebsd/
 XPKGNAMESUFFIX=	-kmod
 X
 XMAINTAINER=	boris at brooknet.com.au
 XCOMMENT=	USB device driver for Windows CE handhelds
 X
 XMAN4=	uppc.4
 XWRKSRC=		${WRKDIR}/${PORTNAME}
 XUSE_REINPLACE=	yes
 X
 X.if !exists(/usr/src/sys/dev/usb/usb.h)
 XBROKEN=		"Requires kernel source (/usr/src/sys) to build"
 X.endif
 X
 Xpre-install:
 X	@${REINPLACE_CMD} -e 's|%%INITIAL_INSTALLDIR%%|${PREFIX}/lib|g' ${BUILD_WRKSRC}/uppcsetup
 X	@${REINPLACE_CMD} -e 's|%%INITIAL_MODDIR%%|${KMODDIR}|g' ${WRKSRC}/uppcsetup
 X
 Xdo-install:
 X	${INSTALL_PROGRAM} ${WRKSRC}/uppc.ko ${PREFIX}/lib
 X	${INSTALL_SCRIPT} ${WRKSRC}/uppcsetup ${PREFIX}/sbin
 X	cd ${WRKSRC} && ${INSTALL_MAN} ${MAN4} ${MANPREFIX}/man/man4
 X
 Xpost-install:
 X	@echo "       ****************************************************************"
 X	@echo "       * You can run 'uppcsetup' to help configure the device driver. *"
 X	@echo "       ****************************************************************"
 X
 X.include <bsd.port.mk>
 END-of-uppc-kmod/Makefile
 echo x - uppc-kmod/distinfo
 sed 's/^X//' >uppc-kmod/distinfo << 'END-of-uppc-kmod/distinfo'
 XMD5 (uppc-0.4.tar.gz) = 4a1e5bd35b10c2c6c720a302a38e0048
 END-of-uppc-kmod/distinfo
 echo x - uppc-kmod/pkg-descr
 sed 's/^X//' >uppc-kmod/pkg-descr << 'END-of-uppc-kmod/pkg-descr'
 XUPPC is a USB device driver that presents a tty style serial interface to
 XWindows CE devices like Pocket PCs. This lets programs like those from the
 XSynCE project access your device much faster than the standard serial
 Xinterface.
 X
 X- Sam Lawrance <boris at brooknet.com.au>
 END-of-uppc-kmod/pkg-descr
 echo x - uppc-kmod/pkg-plist
 sed 's/^X//' >uppc-kmod/pkg-plist << 'END-of-uppc-kmod/pkg-plist'
 Xlib/uppc.ko
 Xsbin/uppcsetup
 END-of-uppc-kmod/pkg-plist
 exit
 
 
 



More information about the freebsd-ports-bugs mailing list