aboutsummaryrefslogtreecommitdiff
path: root/comms/xnec2c/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/xnec2c/Makefile')
-rw-r--r--comms/xnec2c/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/comms/xnec2c/Makefile b/comms/xnec2c/Makefile
index 4dd2cec34ffc..3aeba4e225f9 100644
--- a/comms/xnec2c/Makefile
+++ b/comms/xnec2c/Makefile
@@ -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>