mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
3209efe9b0
- add pkg-deinstall file to account for desired functionality - bump PORTREVISION PR: ports/166057 Submitted by: jgh@ Approved by: maintainer timeout (15 days) Feature safe: yes
46 lines
1003 B
Makefile
46 lines
1003 B
Makefile
# New ports collection makefile for: umcs7840
|
|
# Date created: 09 Nov 2010
|
|
# Whom: Lev Serebryakov <lev@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= umcs7840
|
|
PORTVERSION= ${MAINVERSION}.${VERSIONDATE}
|
|
PORTREVISION= 1
|
|
CATEGORIES= comms kld
|
|
MASTER_SITES= http://lev.serebryakov.spb.ru/download/umcs7840/
|
|
PKGNAMESUFFIX= -kmod
|
|
|
|
MAINTAINER= lev@FreeBSD.org
|
|
COMMENT= MosChip MCS7820 and MCS7840 USB to RS-232/485 gates driver
|
|
|
|
USE_BZIP2= yes
|
|
|
|
NO_PACKAGE= should be recompiled for a particular FreeBSD kernel
|
|
|
|
MAINVERSION=1.0
|
|
VERSIONDATE=20101210.57
|
|
|
|
KMODDIR?= /boot/modules
|
|
PLIST_SUB+= KMODDIR=${KMODDIR}
|
|
SUB_LIST= KMODDIR=${KMODDIR}
|
|
SUB_FILES= pkg-deinstall
|
|
MAKE_ENV+= KMODDIR=${KMODDIR}
|
|
|
|
MANCOMPRESSED= yes
|
|
MAN4= ${PORTNAME}.4
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !exists(${SRC_BASE}/sys/Makefile)
|
|
IGNORE= requires kernel source files
|
|
.elif ${OSVERSION} <= 800063
|
|
IGNORE= requires FreeBSD 8.0 or later, please try driver from vendor site
|
|
.endif
|
|
|
|
post-install:
|
|
kldxref ${KMODDIR}
|
|
|
|
.include <bsd.port.post.mk>
|