aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 23:23:36 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 23:23:36 +0000
commit1a43040a4e321fdc8967368e8e6bb6220b62c51a (patch)
tree3616d1870fb1c1961115184bfc55b3fa14961d5a /x11-toolkits
parente50d4e40aca484e98d08e0b09de0346c02c70b8c (diff)
downloadports-1a43040a4e321fdc8967368e8e6bb6220b62c51a.tar.gz
ports-1a43040a4e321fdc8967368e8e6bb6220b62c51a.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gai/Makefile4
-rw-r--r--x11-toolkits/hs-wxc/Makefile2
-rw-r--r--x11-toolkits/slingshot/Makefile8
3 files changed, 8 insertions, 6 deletions
diff --git a/x11-toolkits/gai/Makefile b/x11-toolkits/gai/Makefile
index 5832420dbc2d..718dbe6be6d2 100644
--- a/x11-toolkits/gai/Makefile
+++ b/x11-toolkits/gai/Makefile
@@ -29,16 +29,16 @@ PLIST_DIRS= include/gai
PORTDOCS= *
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e "s|sdl-config --|${SDL_CONFIG} --|g; \
s|/usr/X11R6|${LOCALBASE}|g" ${WRKSRC}/configure
post-install:
-.if !defined(NOPORTDOCS)
cd ${WRKSRC}/docs && \
${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DOCSDIR}/{}" \; && \
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DOCSDIR}/{}" \;
-.endif
.for dir in docking examples templates
cd ${WRKSRC} && \
${FIND} ${dir} -type d -exec ${MKDIR} "${STAGEDIR}${EXAMPLESDIR}/{}" \; && \
diff --git a/x11-toolkits/hs-wxc/Makefile b/x11-toolkits/hs-wxc/Makefile
index c7e532b1ba1e..3ab194b0d69b 100644
--- a/x11-toolkits/hs-wxc/Makefile
+++ b/x11-toolkits/hs-wxc/Makefile
@@ -17,7 +17,7 @@ USE_WX= 3.0
WX_COMPS= wx
WX_UNICODE= yes
-NOPORTDOCS= yes
+OPTIONS_EXCLUDE=DOCS
post-patch::
@${REINPLACE_CMD} 's|"wx-config"|"wxgtk2u-2.9-config"| ; \
diff --git a/x11-toolkits/slingshot/Makefile b/x11-toolkits/slingshot/Makefile
index 379af11c04c0..a8a0d6504a45 100644
--- a/x11-toolkits/slingshot/Makefile
+++ b/x11-toolkits/slingshot/Makefile
@@ -24,17 +24,19 @@ USES= gmake
MAKE_JOBS_UNSAFE= yes
MAKE_ENV= OPENWINHOME=${LOCALBASE}
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
IMAKECPPFLAGS+= -DXVDestDir=${STAGEDIR}${PREFIX}
MAKE_ARGS= STAGEDIR=${STAGEDIR}
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${STAGEDIR}${DOCSDIR}
${GZIP_CMD} ${STAGEDIR}${DOCSDIR}/README ${STAGEDIR}${DOCSDIR}/*.ps
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>