svn commit: r397240 - in head/comms/xnec2c: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Sep 18 14:00:51 UTC 2015


Author: amdmi3
Date: Fri Sep 18 14:00:50 2015
New Revision: 397240
URL: https://svnweb.freebsd.org/changeset/ports/397240

Log:
  - Drop 8.x support
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Deleted:
  head/comms/xnec2c/files/cexp.c
  head/comms/xnec2c/files/cexp.h
Modified:
  head/comms/xnec2c/Makefile

Modified: head/comms/xnec2c/Makefile
==============================================================================
--- head/comms/xnec2c/Makefile	Fri Sep 18 14:00:40 2015	(r397239)
+++ head/comms/xnec2c/Makefile	Fri Sep 18 14:00:50 2015	(r397240)
@@ -21,18 +21,12 @@ USE_GNOME=	gtk20 intltool
 OPTIONS_DEFINE=	DOCS
 OPTIONS_SUB=	yes
 
-.include <bsd.port.pre.mk>
-
 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
@@ -44,4 +38,4 @@ post-install:
 	${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>
+.include <bsd.port.mk>


More information about the svn-ports-head mailing list