aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authormandree <mandree@FreeBSD.org>2010-12-08 21:08:33 +0800
committermandree <mandree@FreeBSD.org>2010-12-08 21:08:33 +0800
commitec11810a9589b6fbc7e8e496d095fe09d7b657bb (patch)
tree7d5cdf4a8b4c2d925c9bc6efa57ae574a09a9041 /news
parent7b15d56dd974cd8ff58d8f003029309487b38f16 (diff)
downloadfreebsd-ports-gnome-ec11810a9589b6fbc7e8e496d095fe09d7b657bb.tar.gz
freebsd-ports-gnome-ec11810a9589b6fbc7e8e496d095fe09d7b657bb.tar.zst
freebsd-ports-gnome-ec11810a9589b6fbc7e8e496d095fe09d7b657bb.zip
Fix leftover files in NOPORTDOCS install.
Diffstat (limited to 'news')
-rw-r--r--news/newsstar/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/news/newsstar/Makefile b/news/newsstar/Makefile
index e5e3fe92912c..9a7d33623c57 100644
--- a/news/newsstar/Makefile
+++ b/news/newsstar/Makefile
@@ -32,6 +32,10 @@ CONFIGURE_ARGS+=--prefix=${PREFIX} \
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
+.if defined(NOPORTDOCS)
+INSTALL_TARGET= install-am
+.endif
+
.if defined(WITHOUT_SSL)
CONFIGURE_ARGS+=--disable-ssl
.else
@@ -77,10 +81,14 @@ post-install:
.for i in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
+.else
+ ${GMAKE} -C ${WRKSRC}/src install
+ ${GMAKE} -C ${WRKSRC}/docs install-man
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/sgml/docbook/dtd/xml|${LOCALBASE}/share/xml/docbook|' ${WRKSRC}/docs/manual.xml
@${REINPLACE_CMD} -e 's|/usr/share/sgml/docbook/dtd/xml|${LOCALBASE}/share/xml/docbook|' ${WRKSRC}/docs/news.xml
+ @${REINPLACE_CMD} -e 's|install-data-local: install-docs|install-data-local:|' ${WRKSRC}/Makefile.in
.include <bsd.port.post.mk>