diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2012-08-03 21:09:26 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2012-08-03 21:09:26 +0000 |
commit | c0fcb4b315d51a2b3d5cb5b58992a778c1006342 (patch) | |
tree | 65f10ddf95d49676e037d7ebc201f369b551d63a | |
parent | af23989d657a9289e2311d9c28ad5eb13d340eef (diff) | |
download | ports-c0fcb4b315d51a2b3d5cb5b58992a778c1006342.tar.gz ports-c0fcb4b315d51a2b3d5cb5b58992a778c1006342.zip |
Always build manpages.
Add a couple of missing plist entries.
PR: ports/170028
Submitted by: 4721@hushmail.com
Notes
Notes:
svn path=/head/; revision=301971
-rw-r--r-- | devel/llvm-devel/Makefile | 11 | ||||
-rw-r--r-- | devel/llvm-devel/pkg-plist | 2 |
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 |