aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-05 07:23:36 +0800
committeradamw <adamw@FreeBSD.org>2014-07-05 07:23:36 +0800
commitafcfa54e35a50c0f1386cc45359fcad09b9a75d6 (patch)
tree3616d1870fb1c1961115184bfc55b3fa14961d5a /x11-toolkits
parent33e3f8f9cda9030ee4ff57ce0b97f6d87c28d4e3 (diff)
downloadfreebsd-ports-gnome-afcfa54e35a50c0f1386cc45359fcad09b9a75d6.tar.gz
freebsd-ports-gnome-afcfa54e35a50c0f1386cc45359fcad09b9a75d6.tar.zst
freebsd-ports-gnome-afcfa54e35a50c0f1386cc45359fcad09b9a75d6.zip
Remove NOPORTDOCS.
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>