1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

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)
This commit is contained in:
Stephen Hurd 2014-06-24 00:03:30 +00:00
parent b9277ca24d
commit c521165fdd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359024
3 changed files with 28 additions and 4 deletions

View File

@ -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>

View File

@ -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

11
comms/xnec2c/pkg-plist Normal file
View File

@ -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%%