aboutsummaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2010-12-08 13:08:33 +0000
committerMatthias Andree <mandree@FreeBSD.org>2010-12-08 13:08:33 +0000
commit38d6123adc558680c8c9db039c9a05f7cb1f970c (patch)
tree3ec351e20c66252265e4b3da51fada24721c15f2 /news
parent58b7be5c7cf20de0c4e0085e13a648359d65cb37 (diff)
downloadports-38d6123adc558680c8c9db039c9a05f7cb1f970c.tar.gz
ports-38d6123adc558680c8c9db039c9a05f7cb1f970c.zip
Notes
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>