Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2014 16:44:06 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349776 - head/devel/jtag
Message-ID:  <201403311644.s2VGi6To078405@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Mon Mar 31 16:44:06 2014
New Revision: 349776
URL: http://svnweb.freebsd.org/changeset/ports/349776
QAT: https://qat.redports.org/buildarchive/r349776/

Log:
  - Add staging support
  - Convert to USES=tar:bzip2
  - Use options helpers, subs
  - Remove Author line from pkg-descr

Modified:
  head/devel/jtag/Makefile
  head/devel/jtag/pkg-descr

Modified: head/devel/jtag/Makefile
==============================================================================
--- head/devel/jtag/Makefile	Mon Mar 31 16:40:30 2014	(r349775)
+++ head/devel/jtag/Makefile	Mon Mar 31 16:44:06 2014	(r349776)
@@ -15,10 +15,7 @@ LICENSE=	GPLv2 # (or later)
 BUILD_DEPENDS=	${OPENWINCE_INCLUDE_DEP}:${PORTSDIR}/devel/openwince-include
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
-OPTIONS_DEFINE=	NLS DOCS
-
-USES=		readline
-USE_BZIP2=	yes
+USES=		readline tar:bzip2
 GNU_CONFIGURE=	yes
 
 CPPFLAGS+=	-I${LOCALBASE}/include
@@ -30,16 +27,11 @@ ONLY_FOR_ARCHS=	i386
 OPENWINCE_INCLUDE=${LOCALBASE}/include/openwince
 OPENWINCE_INCLUDE_DEP=${OPENWINCE_INCLUDE}/common.h
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	NLS DOCS
+OPTIONS_SUB=	yes
 
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+=	NLS="@comment "
-.endif
+NLS_CONFIGURE_ENABLE=	nls
+NLS_USES=		gettext
 
 post-extract:
 	@${REINPLACE_CMD} -E -e \
@@ -47,11 +39,8 @@ post-extract:
 		${WRKSRC}/configure
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-.for f in README TODO doc/internals.xml
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} README TODO doc/internals.xml \
+		${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>

Modified: head/devel/jtag/pkg-descr
==============================================================================
--- head/devel/jtag/pkg-descr	Mon Mar 31 16:40:30 2014	(r349775)
+++ head/devel/jtag/pkg-descr	Mon Mar 31 16:44:06 2014	(r349776)
@@ -5,5 +5,4 @@ This package has open and modular archit
 miscellaneous extensions (like board testers, flash memory programmers,
 and so on).
 
-Author:	Marcel Telka <marcel@telka.sk>
 WWW: http://openwince.sourceforge.net/jtag/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403311644.s2VGi6To078405>