diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2012-03-27 18:09:24 +0000 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2012-03-27 18:09:24 +0000 |
commit | 3209efe9b022ae6b13606058dc2b10958578afa3 (patch) | |
tree | f41ee6127c75e14d7e542eaf5d226d03ec1cb817 /comms | |
parent | a3c8dd4a53f1e33762f334ec282c2e15563c7725 (diff) | |
download | ports-3209efe9b022ae6b13606058dc2b10958578afa3.tar.gz ports-3209efe9b022ae6b13606058dc2b10958578afa3.zip |
Notes
Diffstat (limited to 'comms')
-rw-r--r-- | comms/umcs7840/Makefile | 6 | ||||
-rw-r--r-- | comms/umcs7840/files/pkg-deinstall.in | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/comms/umcs7840/Makefile b/comms/umcs7840/Makefile index edf94cb22205..a27131311abf 100644 --- a/comms/umcs7840/Makefile +++ b/comms/umcs7840/Makefile @@ -7,6 +7,7 @@ PORTNAME= umcs7840 PORTVERSION= ${MAINVERSION}.${VERSIONDATE} +PORTREVISION= 1 CATEGORIES= comms kld MASTER_SITES= http://lev.serebryakov.spb.ru/download/umcs7840/ PKGNAMESUFFIX= -kmod @@ -23,6 +24,8 @@ VERSIONDATE=20101210.57 KMODDIR?= /boot/modules PLIST_SUB+= KMODDIR=${KMODDIR} +SUB_LIST= KMODDIR=${KMODDIR} +SUB_FILES= pkg-deinstall MAKE_ENV+= KMODDIR=${KMODDIR} MANCOMPRESSED= yes @@ -39,7 +42,4 @@ IGNORE= requires FreeBSD 8.0 or later, please try driver from vendor site post-install: kldxref ${KMODDIR} -post-deinstall: - kldxref ${KMODDIR} - .include <bsd.port.post.mk> diff --git a/comms/umcs7840/files/pkg-deinstall.in b/comms/umcs7840/files/pkg-deinstall.in new file mode 100644 index 000000000000..5de13d7c3787 --- /dev/null +++ b/comms/umcs7840/files/pkg-deinstall.in @@ -0,0 +1,5 @@ +#!/bin/sh + +if [ "$2" = "DEINSTALL" ]; then + /usr/sbin/kldxref %%KMODDIR%% +fi |