Index: head/comms/xnec2c/Makefile =================================================================== --- head/comms/xnec2c/Makefile (revision 397239) +++ head/comms/xnec2c/Makefile (revision 397240) @@ -1,47 +1,41 @@ # Created by: shurd@FreeBSD.org # $FreeBSD$ PORTNAME= xnec2c PORTVERSION= 3.4 CATEGORIES= comms hamradio MASTER_SITES= http://www.qsl.net/5b4az/pkg/nec2/xnec2c/ \ LOCAL/shurd MAINTAINER= hamradio@FreeBSD.org COMMENT= Used to calculate antenna patterns useful to ham radio LICENSE= GPLv2 LIB_DEPENDS= libccm.so:${PORTSDIR}/math/ccmath GNU_CONFIGURE= yes USES= gettext gmake pkgconfig tar:bzip2 USE_GNOME= gtk20 intltool OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes -.include - post-extract: ${CP} ${PATCHDIR}/clog.c ${WRKSRC}/src -.if ${OSVERSION} < 900000 - ${CP} ${PATCHDIR}/cexp.[ch] ${WRKSRC}/src -.else ${TOUCH} ${WRKSRC}/src/cexp.c ${TOUCH} ${WRKSRC}/src/cexp.h -.endif -post-install: +post-install-DOCS-on: ${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 +.include Index: head/comms/xnec2c/files/cexp.c =================================================================== --- head/comms/xnec2c/files/cexp.c (revision 397239) +++ head/comms/xnec2c/files/cexp.c (nonexistent) @@ -1,46 +0,0 @@ -/* $NetBSD: cexp.c,v 1.1 2007/08/20 16:01:34 drochner Exp $ */ - -/*- - * Copyright (c) 2007 The NetBSD Foundation, Inc. - * All rights reserved. - * - * This code is derived from software written by Stephen L. Moshier. - * It is redistributed by the NetBSD Foundation by permission of the author. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#include -#include - -double complex -cexp(double complex z) -{ - double complex w; - double r, x, y; - - x = creal(z); - y = cimag(z); - r = exp(x); - w = r * cos(y) + r * sin(y) * I; - return w; -} Property changes on: head/comms/xnec2c/files/cexp.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -on \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/comms/xnec2c/files/cexp.h =================================================================== --- head/comms/xnec2c/files/cexp.h (revision 397239) +++ head/comms/xnec2c/files/cexp.h (nonexistent) @@ -1,9 +0,0 @@ -#ifndef CEXP_H_ -#define CEXP_H_ - -#include -#include - -double complex cexp(double complex z); - -#endif Property changes on: head/comms/xnec2c/files/cexp.h ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -on \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property