aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2012-08-04 05:09:26 +0800
committerbrooks <brooks@FreeBSD.org>2012-08-04 05:09:26 +0800
commitb965ed3437f1118a6b8c03209ea100a8a25436c1 (patch)
tree65f10ddf95d49676e037d7ebc201f369b551d63a
parent7768a0a8416541905d4fba55541c491bcc43b877 (diff)
downloadfreebsd-ports-gnome-b965ed3437f1118a6b8c03209ea100a8a25436c1.tar.gz
freebsd-ports-gnome-b965ed3437f1118a6b8c03209ea100a8a25436c1.tar.zst
freebsd-ports-gnome-b965ed3437f1118a6b8c03209ea100a8a25436c1.zip
Always build manpages.
Add a couple of missing plist entries. PR: ports/170028 Submitted by: 4721@hushmail.com
-rw-r--r--devel/llvm-devel/Makefile11
-rw-r--r--devel/llvm-devel/pkg-plist2
2 files changed, 9 insertions, 4 deletions
diff --git a/devel/llvm-devel/Makefile b/devel/llvm-devel/Makefile
index 17c08bb8828c..f0b5ceb61580 100644
--- a/devel/llvm-devel/Makefile
+++ b/devel/llvm-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= llvm
DISTVERSION= 3.2.r${SVN_REV}
+PORTREVISON= 1
CATEGORIES= devel lang
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= brooks
@@ -22,6 +23,8 @@ BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
BUILD_DEPENDS+= f2c:${PORTSDIR}/lang/f2c
.endif
+BUILD_DEPENDS+= sphinx-build:${PORTSDIR}/textproc/py-sphinx
+
CONFLICTS= llvm-[23]* llvm-etoile-2*
GNU_CONFIGURE= yes
@@ -63,7 +66,6 @@ CONFIGURE_ARGS+= --enable-optimized
.if ${PORT_OPTIONS:MDOCS}
CONFIGURE_ARGS+= --enable-docs
-BUILD_DEPENDS+= sphinx-build:${PORTSDIR}/textproc/py-sphinx
.else
CONFIGURE_ARGS+= --disable-docs
.endif
@@ -125,9 +127,10 @@ post-patch:
${REINPLACE_CMD} -e 's|\(PROJ_mandir.*:=\).*$$|\1${MANPREFIX}/man|g' \
${WRKSRC}/Makefile.config.in
-.if ${PORT_OPTIONS:MDOCS}
post-build:
- @cd ${WRKSRC}/docs && ${GMAKE} -f Makefile.sphinx man html
+ @cd ${WRKSRC}/docs && ${GMAKE} -f Makefile.sphinx man
+.if ${PORT_OPTIONS:MDOCS}
+ @cd ${WRKSRC}/docs && ${GMAKE} -f Makefile.sphinx html
.endif
post-install:
@@ -137,11 +140,11 @@ post-install:
${MKDIR} ${DOCSDIR}/html
find ${WRKSRC}/docs/_build/html -type f | \
xargs -I _DOC_ ${INSTALL_DATA} _DOC_ ${DOCSDIR}/html/
+.endif
.for man in ${MAN1}
@${INSTALL_MAN} ${WRKSRC}/docs/_build/man/${man} \
${MANPREFIX}/man/man1/
.endfor
-.endif
TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/Release/lib ${GMAKE} check-local-lit)'
regression-test: ${BUILD_COOKIE}
diff --git a/devel/llvm-devel/pkg-plist b/devel/llvm-devel/pkg-plist
index be25e6ca24db..ee88c6b991d3 100644
--- a/devel/llvm-devel/pkg-plist
+++ b/devel/llvm-devel/pkg-plist
@@ -791,6 +791,8 @@ lib/libprofile_rt.so
%%PORTDOCS%%%%DOCSDIR%%/html/userguides.html
%%PORTDOCS%%%%DOCSDIR%%/html/userguides.txt
%%PORTDOCS%%%%DOCSDIR%%/html/websupport.js
+%%PORTDOCS%%%%DOCSDIR%%/html/doxygen.css
+%%PORTDOCS%%%%DOCSDIR%%/html.tar.gz
@dirrm include/llvm/Transforms/Utils
@dirrm include/llvm/Transforms/IPO
@dirrm include/llvm/Transforms