svn commit: r406561 - head/devel/jtag

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Jan 18 11:23:38 UTC 2016


Author: amdmi3
Date: Mon Jan 18 11:23:36 2016
New Revision: 406561
URL: https://svnweb.freebsd.org/changeset/ports/406561

Log:
  - Add LICENSE_FILE
  - No need to run-depend on headers
  - Drop unneeded *FLAGS
  - Switch to options helpers

Modified:
  head/devel/jtag/Makefile

Modified: head/devel/jtag/Makefile
==============================================================================
--- head/devel/jtag/Makefile	Mon Jan 18 11:19:54 2016	(r406560)
+++ head/devel/jtag/Makefile	Mon Jan 18 11:23:36 2016	(r406561)
@@ -11,19 +11,17 @@ MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Utility to work with JTAG-aware boards
 
 LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	${OPENWINCE_INCLUDE_DEP}:${PORTSDIR}/devel/openwince-include
-RUN_DEPENDS:=	${BUILD_DEPENDS}
+
+ONLY_FOR_ARCHS=	i386
 
 USES=		readline tar:bzip2
 GNU_CONFIGURE=	yes
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-
 PORTDOCS=	*
 
-ONLY_FOR_ARCHS=	i386
 OPENWINCE_INCLUDE=${LOCALBASE}/include/openwince
 OPENWINCE_INCLUDE_DEP=${OPENWINCE_INCLUDE}/common.h
 
@@ -38,7 +36,7 @@ post-extract:
 		"s,/usr/local/include/openwince,${OPENWINCE_INCLUDE}," \
 		${WRKSRC}/configure
 
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	(cd ${WRKSRC} && ${INSTALL_DATA} README TODO doc/internals.xml \
 		${STAGEDIR}${DOCSDIR})


More information about the svn-ports-all mailing list