Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 2014 00:03:31 +0000 (UTC)
From:      Stephen Hurd <shurd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359024 - head/comms/xnec2c
Message-ID:  <201406240003.s5O03VoA038084@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: shurd
Date: Tue Jun 24 00:03:30 2014
New Revision: 359024
URL: http://svnweb.freebsd.org/changeset/ports/359024
QAT: https://qat.redports.org/buildarchive/r359024/

Log:
  Update to 2.9.
  This release only adds a useless manpage (not installed).
  Added a DOCS option to install the documentation (previously not installed)
  
  Reviewed by:	skreuzer
  Approved by:	db, skreuzer (mentors)

Added:
  head/comms/xnec2c/pkg-plist   (contents, props changed)
Modified:
  head/comms/xnec2c/Makefile
  head/comms/xnec2c/distinfo   (contents, props changed)

Modified: head/comms/xnec2c/Makefile
==============================================================================
--- head/comms/xnec2c/Makefile	Tue Jun 24 00:00:10 2014	(r359023)
+++ head/comms/xnec2c/Makefile	Tue Jun 24 00:03:30 2014	(r359024)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	xnec2c
-PORTVERSION=	2.8
+PORTVERSION=	2.9
 CATEGORIES=	comms hamradio
 MASTER_SITES=	http://www.qsl.net/5b4az/pkg/nec2/xnec2c/ \
 		${MASTER_SITE_LOCAL}
@@ -19,7 +19,8 @@ GNU_CONFIGURE=	yes
 USES=		tar:bzip2 pkgconfig gmake
 USE_GNOME=	gtk20
 
-PLIST_FILES=	bin/xnec2c
+OPTIONS_DEFINE=	DOCS
+OPTIONS_SUB=	yes
 
 .include <bsd.port.pre.mk>
 
@@ -32,4 +33,16 @@ post-extract:
 	${TOUCH} ${WRKSRC}/src/cexp.h
 .endif
 
+post-install:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/xnec2c.html ${STAGEDIR}${DOCSDIR}/xnec2c.html
+	${MKDIR} ${STAGEDIR}${DOCSDIR}/images
+	${INSTALL_DATA} ${WRKSRC}/doc/images/charges.png ${STAGEDIR}${DOCSDIR}/images/charges.png
+	${INSTALL_DATA} ${WRKSRC}/doc/images/currents.png ${STAGEDIR}${DOCSDIR}/images/currents.png
+	${INSTALL_DATA} ${WRKSRC}/doc/images/excitation.png ${STAGEDIR}${DOCSDIR}/images/excitation.png
+	${INSTALL_DATA} ${WRKSRC}/doc/images/freq_plots.png ${STAGEDIR}${DOCSDIR}/images/freq_plots.png
+	${INSTALL_DATA} ${WRKSRC}/doc/images/nec2_edit.png ${STAGEDIR}${DOCSDIR}/images/nec2_edit.png
+	${INSTALL_DATA} ${WRKSRC}/doc/images/radiation.png ${STAGEDIR}${DOCSDIR}/images/radiation.png
+	${INSTALL_DATA} ${WRKSRC}/doc/images/wire.png ${STAGEDIR}${DOCSDIR}/images/wire.png
+
 .include <bsd.port.post.mk>

Modified: head/comms/xnec2c/distinfo
==============================================================================
--- head/comms/xnec2c/distinfo	Tue Jun 24 00:00:10 2014	(r359023)
+++ head/comms/xnec2c/distinfo	Tue Jun 24 00:03:30 2014	(r359024)
@@ -1,2 +1,2 @@
-SHA256 (xnec2c-2.8.tar.bz2) = 988d90cea329959d05a203e40110128c3ceee27c30693d0fd585e775db4dfdeb
-SIZE (xnec2c-2.8.tar.bz2) = 919166
+SHA256 (xnec2c-2.9.tar.bz2) = 1f46e2cbd61949e3c1974a2e0700de1ba5cd635be254e552bf30cfd515c34c84
+SIZE (xnec2c-2.9.tar.bz2) = 919670

Added: head/comms/xnec2c/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/xnec2c/pkg-plist	Tue Jun 24 00:03:30 2014	(r359024)
@@ -0,0 +1,11 @@
+bin/xnec2c
+%%DOCS%%%%DOCSDIR%%/xnec2c.html
+%%DOCS%%%%DOCSDIR%%/images/charges.png
+%%DOCS%%%%DOCSDIR%%/images/currents.png
+%%DOCS%%%%DOCSDIR%%/images/excitation.png
+%%DOCS%%%%DOCSDIR%%/images/freq_plots.png
+%%DOCS%%%%DOCSDIR%%/images/nec2_edit.png
+%%DOCS%%%%DOCSDIR%%/images/radiation.png
+%%DOCS%%%%DOCSDIR%%/images/wire.png
+%%DOCS%%@dirrm %%DOCSDIR%%/images
+%%DOCS%%@dirrm %%DOCSDIR%%



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