aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-11-24 03:08:19 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-11-24 03:08:19 +0800
commit6694016d12535aeab82cb03d0ccae5af1c36880f (patch)
treec3f258cdb7a988d50e2c73df02d8d4dc6dabcf62
parent2cdd9101d40b4bfb9e1dc77597ef870d552541d2 (diff)
downloadfreebsd-ports-gnome-6694016d12535aeab82cb03d0ccae5af1c36880f.tar.gz
freebsd-ports-gnome-6694016d12535aeab82cb03d0ccae5af1c36880f.tar.zst
freebsd-ports-gnome-6694016d12535aeab82cb03d0ccae5af1c36880f.zip
- Fix license handling (ports may not set NO_LICENSES_INSTALL)
- Fix incorrect usage of MAKE/MAKE_CMD - Fix incorrect DISTDIR usage Approved by: portmgr blanket
-rw-r--r--comms/uarduno/Makefile20
1 files changed, 8 insertions, 12 deletions
diff --git a/comms/uarduno/Makefile b/comms/uarduno/Makefile
index 2ea3c25bc724..6b725473c55f 100644
--- a/comms/uarduno/Makefile
+++ b/comms/uarduno/Makefile
@@ -10,18 +10,14 @@ MASTER_SITES= http://mrp3.com/
MAINTAINER= bobf@mrp3.com
COMMENT= FreeBSD Kernel Driver for the Arduino Uno USB interface
-# no license required
-LICENSE= BSD2CLAUSE
-
-NO_LICENSES_INSTALL= yes
-NO_LICENSES_DIALOGS= yes
+LICENSE= BSD4CLAUSE
USES= kmod uidfix
# some test targets need a predictable source directory
WRKSRC= ${WRKDIR}/uarduno
-PLIST_FILES= "${KMODDIR}/uarduno.ko"
+PLIST_FILES= ${KMODDIR}/uarduno.ko
#
# make sure I correctly identify the OS version
@@ -37,10 +33,10 @@ post-patch:
#
# building a source tarball and related files
uarduno-src-tarball:
- ${MAKE} patch
- ${MAKE} -C ${WRKSRC} my-clean
- tar -c -f ${PORTSDIR}/distfiles/${DISTNAME}${EXTRACT_SUFX} -C ${WRKDIR} uarduno
- ${MAKE} makesum
+ ${MAKE_CMD} patch
+ ${MAKE_CMD} -C ${WRKSRC} my-clean
+ ${TAR} -c -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} -C ${WRKDIR} uarduno
+ ${MAKE_CMD} makesum
# partial clean for incremental build and test
uarduno-part-clean:
@@ -48,7 +44,7 @@ uarduno-part-clean:
-${RM} ${WRKDIR}/.configure_done.uarduno._boot_kernel
-${RM} ${WRKDIR}/.build_done.uarduno._boot_kernel
-${RM} ${WRKDIR}/.install_done.uarduno._boot_kernel
- ${MAKE} -C ${WRKSRC} my-clean
- ${MAKE} patch
+ ${MAKE_CMD} -C ${WRKSRC} my-clean
+ ${MAKE_CMD} patch
.include <bsd.port.mk>