aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/fox14/Makefile
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-03-29 10:52:52 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-03-29 10:52:52 +0000
commit6b02f01c9c26c080313662d1ed4012c8162fa820 (patch)
treeb2a62848be890eccb96a777662e7da0455e61757 /x11-toolkits/fox14/Makefile
parent2f1e160572536ea705da3106fcc566b55947d32a (diff)
Notes
Diffstat (limited to 'x11-toolkits/fox14/Makefile')
-rw-r--r--x11-toolkits/fox14/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/x11-toolkits/fox14/Makefile b/x11-toolkits/fox14/Makefile
index 9d3cf17de9a5..4cac8aa57565 100644
--- a/x11-toolkits/fox14/Makefile
+++ b/x11-toolkits/fox14/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
tiff.4:${PORTSDIR}/graphics/tiff \
Xft.2:${PORTSDIR}/x11-fonts/libXft
-CONFLICTS= fox-1.0.*
+CONFLICTS= fox-1.0.* fox-1.2.* fox-1.6.*
LATEST_LINK= fox14
@@ -96,12 +96,6 @@ CXXFLAGS+= -O2 -Wuninitialized -ffast-math -finline-functions -fomit-frame-point
.if defined(WITH_PROFILING)
CONFIGURE_ARGS+= --with-profiling=gprof
.endif
-#
-.if defined(NOPORTDOCS)
-MAKE_ARGS+= DOC=
-.else
-MAKE_ARGS+= DOC=doc
-.endif
post-patch:
# CXXFLAGS safeness
@@ -120,6 +114,11 @@ post-patch:
@${REINPLACE_CMD} -E -e \
's|^(screenshotsdir).*$$|\1=${DOCSDIR}/html|' \
${WRKSRC}/doc/screenshots/Makefile.in
+.if defined(NOPORTDOCS)
+ @${REINPLACE_CMD} -e \
+ '/^SUBDIRS/s/ doc//' \
+ ${WRKSRC}/Makefile.in
+.endif
.if !defined(WITH_FOX_APPLICATIONS)
@${REINPLACE_CMD} -E -e \
's,^(SUBDIRS.*)adie,\1,; \