Date: Wed, 23 Nov 2016 19:08:19 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426955 - head/comms/uarduno Message-ID: <201611231908.uANJ8JLH093528@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Nov 23 19:08:19 2016 New Revision: 426955 URL: https://svnweb.freebsd.org/changeset/ports/426955 Log: - 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 Modified: head/comms/uarduno/Makefile Modified: head/comms/uarduno/Makefile ============================================================================== --- head/comms/uarduno/Makefile Wed Nov 23 18:59:23 2016 (r426954) +++ head/comms/uarduno/Makefile Wed Nov 23 19:08:19 2016 (r426955) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611231908.uANJ8JLH093528>