aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-08 19:30:05 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-08 19:30:05 +0800
commit46eb0ed1f6dc567025d73d97b466e793f4177f71 (patch)
treed94a4376c0fd8aa050f5c9366b5e206f4e0a6440 /x11
parentc7a4e65862ea5f4b96f29d8f875cea62930f547e (diff)
downloadfreebsd-ports-gnome-46eb0ed1f6dc567025d73d97b466e793f4177f71.tar.gz
freebsd-ports-gnome-46eb0ed1f6dc567025d73d97b466e793f4177f71.tar.zst
freebsd-ports-gnome-46eb0ed1f6dc567025d73d97b466e793f4177f71.zip
- Switch to options helpers
Approved by: portmgr blanket
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>