aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-08 11:30:05 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-08 11:30:05 +0000
commit72be4c6de7ee115595fef316cb5870d2830ab9ed (patch)
treed94a4376c0fd8aa050f5c9366b5e206f4e0a6440 /x11
parent4dbbe1a0b0abd689429a098e5c82d91d1c814835 (diff)
downloadports-72be4c6de7ee115595fef316cb5870d2830ab9ed.tar.gz
ports-72be4c6de7ee115595fef316cb5870d2830ab9ed.zip
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/libsx/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/x11/libsx/Makefile b/x11/libsx/Makefile
index 1407c6939311..4e62c9a13c99 100644
--- a/x11/libsx/Makefile
+++ b/x11/libsx/Makefile
@@ -20,8 +20,6 @@ MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
do-install:
${INSTALL_DATA} ${WRKSRC}/src/libsx.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/freq/libfreq.a ${STAGEDIR}${PREFIX}/lib
@@ -29,11 +27,9 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/src/libsx.h ${STAGEDIR}${PREFIX}/include/X11/libsx
${INSTALL_DATA} ${WRKSRC}/freq/freq.h ${STAGEDIR}${PREFIX}/include/X11/libsx
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/libsx
${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${PREFIX}/share/doc/libsx
${GZIP_CMD} ${STAGEDIR}${PREFIX}/share/doc/libsx/*.doc
-.endif
.include <bsd.port.mk>