aboutsummaryrefslogtreecommitdiffstats
path: root/comms/uarduno
diff options
context:
space:
mode:
authorflo <flo@FreeBSD.org>2012-11-14 18:58:52 +0800
committerflo <flo@FreeBSD.org>2012-11-14 18:58:52 +0800
commit2c86ad155b510f090a689f25cc428ce541816ae9 (patch)
tree95fe859e5aadd0e5311c07b65ed43b463b7790ab /comms/uarduno
parent95f419d6555f256d64126b924c1845bdc3c464a2 (diff)
downloadfreebsd-ports-gnome-2c86ad155b510f090a689f25cc428ce541816ae9.tar.gz
freebsd-ports-gnome-2c86ad155b510f090a689f25cc428ce541816ae9.tar.zst
freebsd-ports-gnome-2c86ad155b510f090a689f25cc428ce541816ae9.zip
- Don't redefine LOCALBASE, use PREFIX to install to, this also fixes
installation with pkgng. The port would otherwise try to install pkg again ===> uarduno-1.02 depends on file: /boot/kernel/sbin/pkg - not found - Don't leave any leftovers in KMODDIR Approved by: maintainer Feature safe: yes
Diffstat (limited to 'comms/uarduno')
-rw-r--r--comms/uarduno/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/comms/uarduno/Makefile b/comms/uarduno/Makefile
index 3f7b665d42fd..038e388c3445 100644
--- a/comms/uarduno/Makefile
+++ b/comms/uarduno/Makefile
@@ -1,9 +1,5 @@
-# Ports collection makefile for: uarduno
-# Date created: 11-19-2010
-# Whom: 'Big Bad Bob' Frazier <bobf@mrp3.com>
-#
+# Created by: 'Big Bad Bob' Frazier <bobf@mrp3.com>
# $FreeBSD$
-#
PORTNAME= uarduno
PORTVERSION= 1.02
@@ -17,7 +13,7 @@ NO_PACKAGE= You must (re)build this port with your kernel source
# need to enforce installation into kernel module directory
MAKE_ENV+= KMODDIR=${KMODDIR}
-LOCALBASE= ${KMODDIR}
+PREFIX= ${KMODDIR}
.include <bsd.port.pre.mk>
@@ -29,7 +25,8 @@ NO_MTREE= yes
# some test targets need a predictable source directory
WRKSRC= ${WRKDIR}/uarduno
-PLIST_FILES= uarduno.ko
+PLIST_FILES= uarduno.ko \
+ "@unexec kldxref ${KMODDIR}"
MAKE_JOBS_SAFE= yes
# no license required