1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/palm/uppc-kmod/Makefile
2009-05-27 07:17:07 +00:00

47 lines
1.4 KiB
Makefile

# New ports collection makefile for: uppc-kmod
# Date created: 31 August 2003
# Whom: Sam Lawrance <boris@brooknet.com.au>
#
# $FreeBSD$
#
PORTNAME= uppc
PORTVERSION= 0.8
PORTREVISION= 3
CATEGORIES= palm kld
MASTER_SITES= http://T32.TecNik93.com/FreeBSD/others_ports/${PORTNAME}-${PKGNAMESUFFIX}/sources/
PKGNAMESUFFIX= -kmod
MAINTAINER= ports@FreeBSD.org
COMMENT= USB device driver for Windows CE handhelds
MAN4= uppc.4
WRKSRC= ${WRKDIR}/${PORTNAME}
.if !exists(/usr/src/sys/dev/usb/usb.h)
IGNORE= Requires kernel source (/usr/src/sys) to build
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 800064
BROKEN= does not build
.endif
post-build:
@${REINPLACE_CMD} -e 's|%%INITIAL_INSTALLDIR%%|${PREFIX}/lib|g' ${BUILD_WRKSRC}/uppcsetup
@${REINPLACE_CMD} -e 's|%%INITIAL_MODDIR%%|${KMODDIR}|g' ${WRKSRC}/uppcsetup
do-install:
${INSTALL_KLD} ${WRKSRC}/uppc.ko ${PREFIX}/lib
${INSTALL_SCRIPT} ${WRKSRC}/uppcsetup ${PREFIX}/sbin
cd ${WRKSRC} && ${INSTALL_MAN} ${MAN4} ${MANPREFIX}/man/man4
post-install:
@${ECHO_CMD} " ****************************************************************"
@${ECHO_CMD} " * You can run 'uppcsetup' to help configure the device driver *"
@${ECHO_CMD} " * and set up a connection. *"
@${ECHO_CMD} " ****************************************************************"
.include <bsd.port.post.mk>