fix doc location, pointed out by ajacoutot

This commit is contained in:
sthen 2008-11-10 12:17:54 +00:00
parent 14dd8ee4e5
commit c2d63423f1
3 changed files with 125 additions and 114 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/11/10 11:25:33 sthen Exp $ # $OpenBSD: Makefile,v 1.2 2008/11/10 12:17:54 sthen Exp $
COMMENT = Low Level Virtual Machine (LLVM) compiler infrastructure COMMENT = Low Level Virtual Machine (LLVM) compiler infrastructure
@ -8,6 +8,8 @@ V = 2.4.snap${SNAPDATE}
DISTNAME = llvm-$V DISTNAME = llvm-$V
EXTRACT_SUFX = .tar.bz2 EXTRACT_SUFX = .tar.bz2
PKGNAME = ${DISTNAME}p0
SHARED_LIBS += LLVMHello .0.0 # .0.0 SHARED_LIBS += LLVMHello .0.0 # .0.0
CATEGORIES = devel CATEGORIES = devel
@ -50,8 +52,6 @@ MODGNU_CONFIG_GUESS_DIRS = ${WRKSRC}/autoconf
pre-configure: pre-configure:
@perl -pi -e s,-lpthread,-pthread,g ${WRKSRC}/configure @perl -pi -e s,-lpthread,-pthread,g ${WRKSRC}/configure
@perl -pi -e 's,\(PROJ_docsdir.*:=\).*$$,\1${PREFIX}/share/doc/llvm,g' \
${WRKSRC}/Makefile.config.in
@${SUBST_CMD} ${WRKSRC}/tools/clang/utils/scan-build @${SUBST_CMD} ${WRKSRC}/tools/clang/utils/scan-build
post-install: post-install:

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Makefile_config_in,v 1.1 2008/11/10 12:17:54 sthen Exp $
--- Makefile.config.in.orig Mon Nov 10 11:36:02 2008
+++ Makefile.config.in Mon Nov 10 11:36:10 2008
@@ -79,7 +79,7 @@ LLVMMAKE := $(LLVM_SRC_ROOT)/make
PROJ_bindir := $(DESTDIR)$(PROJ_prefix)/bin
PROJ_libdir := $(DESTDIR)$(PROJ_prefix)/lib
PROJ_datadir := $(DESTDIR)$(PROJ_prefix)/share
-PROJ_docsdir := $(DESTDIR)$(PROJ_prefix)/docs/llvm
+PROJ_docsdir := $(DESTDIR)$(PROJ_prefix)/share/doc/llvm
PROJ_etcdir := $(DESTDIR)$(PROJ_prefix)/etc/llvm
PROJ_includedir := $(DESTDIR)$(PROJ_prefix)/include
PROJ_infodir := $(DESTDIR)$(PROJ_prefix)/info

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/11/10 11:25:33 sthen Exp $ @comment $OpenBSD: PLIST,v 1.2 2008/11/10 12:17:54 sthen Exp $
Headers/ Headers/
@comment Headers/.dir @comment Headers/.dir
Headers/iso646.h Headers/iso646.h
@ -31,116 +31,6 @@ bin/llvm-config
@bin bin/llvmc2 @bin bin/llvmc2
@bin bin/opt @bin bin/opt
bin/scan-build bin/scan-build
docs/
docs/llvm/
docs/llvm/html/
docs/llvm/html.tar.gz
docs/llvm/html/AliasAnalysis.html
docs/llvm/html/BitCodeFormat.html
docs/llvm/html/Bugpoint.html
docs/llvm/html/CFEBuildInstrs.html
docs/llvm/html/CodeGenerator.html
docs/llvm/html/CodingStandards.html
docs/llvm/html/CommandGuide/
docs/llvm/html/CommandGuide/bugpoint.html
docs/llvm/html/CommandGuide/index.html
docs/llvm/html/CommandGuide/llc.html
docs/llvm/html/CommandGuide/lli.html
docs/llvm/html/CommandGuide/llvm-ar.html
docs/llvm/html/CommandGuide/llvm-as.html
docs/llvm/html/CommandGuide/llvm-bcanalyzer.html
docs/llvm/html/CommandGuide/llvm-config.html
docs/llvm/html/CommandGuide/llvm-db.html
docs/llvm/html/CommandGuide/llvm-dis.html
docs/llvm/html/CommandGuide/llvm-extract.html
docs/llvm/html/CommandGuide/llvm-ld.html
docs/llvm/html/CommandGuide/llvm-link.html
docs/llvm/html/CommandGuide/llvm-nm.html
docs/llvm/html/CommandGuide/llvm-prof.html
docs/llvm/html/CommandGuide/llvm-ranlib.html
docs/llvm/html/CommandGuide/llvmgcc.html
docs/llvm/html/CommandGuide/llvmgxx.html
docs/llvm/html/CommandGuide/manpage.css
docs/llvm/html/CommandGuide/opt.html
docs/llvm/html/CommandGuide/tblgen.html
docs/llvm/html/CommandLine.html
docs/llvm/html/CompilerDriver.html
docs/llvm/html/CompilerWriterInfo.html
docs/llvm/html/DeveloperPolicy.html
docs/llvm/html/ExceptionHandling.html
docs/llvm/html/ExtendingLLVM.html
docs/llvm/html/FAQ.html
docs/llvm/html/GCCFEBuildInstrs.html
docs/llvm/html/GarbageCollection.html
docs/llvm/html/GetElementPtr.html
docs/llvm/html/GettingStarted.html
docs/llvm/html/GettingStartedVS.html
docs/llvm/html/HowToReleaseLLVM.html
docs/llvm/html/HowToSubmitABug.html
docs/llvm/html/InternalsManual.html
docs/llvm/html/LangRef.html
docs/llvm/html/Lexicon.html
docs/llvm/html/LinkTimeOptimization.html
docs/llvm/html/MakefileGuide.html
docs/llvm/html/Passes.html
docs/llvm/html/ProgrammersManual.html
docs/llvm/html/Projects.html
docs/llvm/html/ReleaseNotes.html
docs/llvm/html/SourceLevelDebugging.html
docs/llvm/html/SystemLibrary.html
docs/llvm/html/TableGenFundamentals.html
docs/llvm/html/TestingGuide.html
docs/llvm/html/UsingLibraries.html
docs/llvm/html/WritingAnLLVMBackend.html
docs/llvm/html/WritingAnLLVMPass.html
docs/llvm/html/doxygen.css
docs/llvm/html/img/
docs/llvm/html/img/Debugging.gif
docs/llvm/html/img/libdeps.gif
docs/llvm/html/img/lines.gif
docs/llvm/html/img/objdeps.gif
docs/llvm/html/img/venusflytrap.jpg
docs/llvm/html/index.html
docs/llvm/html/llvm.css
docs/llvm/html/tutorial/
docs/llvm/html/tutorial/JITTutorial1.html
docs/llvm/html/tutorial/JITTutorial2.html
docs/llvm/html/tutorial/LangImpl1.html
docs/llvm/html/tutorial/LangImpl2.html
docs/llvm/html/tutorial/LangImpl3.html
docs/llvm/html/tutorial/LangImpl4.html
docs/llvm/html/tutorial/LangImpl5.html
docs/llvm/html/tutorial/LangImpl6.html
docs/llvm/html/tutorial/LangImpl7.html
docs/llvm/html/tutorial/LangImpl8.html
docs/llvm/html/tutorial/OCamlLangImpl1.html
docs/llvm/html/tutorial/OCamlLangImpl2.html
docs/llvm/html/tutorial/OCamlLangImpl3.html
docs/llvm/html/tutorial/OCamlLangImpl4.html
docs/llvm/html/tutorial/OCamlLangImpl5.html
docs/llvm/html/tutorial/OCamlLangImpl6.html
docs/llvm/html/tutorial/OCamlLangImpl7.html
docs/llvm/html/tutorial/index.html
docs/llvm/ps/
docs/llvm/ps/bugpoint.ps
docs/llvm/ps/llc.ps
docs/llvm/ps/lli.ps
docs/llvm/ps/llvm-ar.ps
docs/llvm/ps/llvm-as.ps
docs/llvm/ps/llvm-bcanalyzer.ps
docs/llvm/ps/llvm-config.ps
docs/llvm/ps/llvm-db.ps
docs/llvm/ps/llvm-dis.ps
docs/llvm/ps/llvm-extract.ps
docs/llvm/ps/llvm-ld.ps
docs/llvm/ps/llvm-link.ps
docs/llvm/ps/llvm-nm.ps
docs/llvm/ps/llvm-prof.ps
docs/llvm/ps/llvm-ranlib.ps
docs/llvm/ps/llvmgcc.ps
docs/llvm/ps/llvmgxx.ps
docs/llvm/ps/opt.ps
docs/llvm/ps/tblgen.ps
include/llvm/ include/llvm/
include/llvm-c/ include/llvm-c/
include/llvm-c/Analysis.h include/llvm-c/Analysis.h
@ -523,6 +413,115 @@ lib/libclangLex.a
lib/libclangParse.a lib/libclangParse.a
lib/libclangRewrite.a lib/libclangRewrite.a
lib/libclangSema.a lib/libclangSema.a
share/doc/llvm/
share/doc/llvm/html/
share/doc/llvm/html.tar.gz
share/doc/llvm/html/AliasAnalysis.html
share/doc/llvm/html/BitCodeFormat.html
share/doc/llvm/html/Bugpoint.html
share/doc/llvm/html/CFEBuildInstrs.html
share/doc/llvm/html/CodeGenerator.html
share/doc/llvm/html/CodingStandards.html
share/doc/llvm/html/CommandGuide/
share/doc/llvm/html/CommandGuide/bugpoint.html
share/doc/llvm/html/CommandGuide/index.html
share/doc/llvm/html/CommandGuide/llc.html
share/doc/llvm/html/CommandGuide/lli.html
share/doc/llvm/html/CommandGuide/llvm-ar.html
share/doc/llvm/html/CommandGuide/llvm-as.html
share/doc/llvm/html/CommandGuide/llvm-bcanalyzer.html
share/doc/llvm/html/CommandGuide/llvm-config.html
share/doc/llvm/html/CommandGuide/llvm-db.html
share/doc/llvm/html/CommandGuide/llvm-dis.html
share/doc/llvm/html/CommandGuide/llvm-extract.html
share/doc/llvm/html/CommandGuide/llvm-ld.html
share/doc/llvm/html/CommandGuide/llvm-link.html
share/doc/llvm/html/CommandGuide/llvm-nm.html
share/doc/llvm/html/CommandGuide/llvm-prof.html
share/doc/llvm/html/CommandGuide/llvm-ranlib.html
share/doc/llvm/html/CommandGuide/llvmgcc.html
share/doc/llvm/html/CommandGuide/llvmgxx.html
share/doc/llvm/html/CommandGuide/manpage.css
share/doc/llvm/html/CommandGuide/opt.html
share/doc/llvm/html/CommandGuide/tblgen.html
share/doc/llvm/html/CommandLine.html
share/doc/llvm/html/CompilerDriver.html
share/doc/llvm/html/CompilerWriterInfo.html
share/doc/llvm/html/DeveloperPolicy.html
share/doc/llvm/html/ExceptionHandling.html
share/doc/llvm/html/ExtendingLLVM.html
share/doc/llvm/html/FAQ.html
share/doc/llvm/html/GCCFEBuildInstrs.html
share/doc/llvm/html/GarbageCollection.html
share/doc/llvm/html/GetElementPtr.html
share/doc/llvm/html/GettingStarted.html
share/doc/llvm/html/GettingStartedVS.html
share/doc/llvm/html/HowToReleaseLLVM.html
share/doc/llvm/html/HowToSubmitABug.html
share/doc/llvm/html/InternalsManual.html
share/doc/llvm/html/LangRef.html
share/doc/llvm/html/Lexicon.html
share/doc/llvm/html/LinkTimeOptimization.html
share/doc/llvm/html/MakefileGuide.html
share/doc/llvm/html/Passes.html
share/doc/llvm/html/ProgrammersManual.html
share/doc/llvm/html/Projects.html
share/doc/llvm/html/ReleaseNotes.html
share/doc/llvm/html/SourceLevelDebugging.html
share/doc/llvm/html/SystemLibrary.html
share/doc/llvm/html/TableGenFundamentals.html
share/doc/llvm/html/TestingGuide.html
share/doc/llvm/html/UsingLibraries.html
share/doc/llvm/html/WritingAnLLVMBackend.html
share/doc/llvm/html/WritingAnLLVMPass.html
share/doc/llvm/html/doxygen.css
share/doc/llvm/html/img/
share/doc/llvm/html/img/Debugging.gif
share/doc/llvm/html/img/libdeps.gif
share/doc/llvm/html/img/lines.gif
share/doc/llvm/html/img/objdeps.gif
share/doc/llvm/html/img/venusflytrap.jpg
share/doc/llvm/html/index.html
share/doc/llvm/html/llvm.css
share/doc/llvm/html/tutorial/
share/doc/llvm/html/tutorial/JITTutorial1.html
share/doc/llvm/html/tutorial/JITTutorial2.html
share/doc/llvm/html/tutorial/LangImpl1.html
share/doc/llvm/html/tutorial/LangImpl2.html
share/doc/llvm/html/tutorial/LangImpl3.html
share/doc/llvm/html/tutorial/LangImpl4.html
share/doc/llvm/html/tutorial/LangImpl5.html
share/doc/llvm/html/tutorial/LangImpl6.html
share/doc/llvm/html/tutorial/LangImpl7.html
share/doc/llvm/html/tutorial/LangImpl8.html
share/doc/llvm/html/tutorial/OCamlLangImpl1.html
share/doc/llvm/html/tutorial/OCamlLangImpl2.html
share/doc/llvm/html/tutorial/OCamlLangImpl3.html
share/doc/llvm/html/tutorial/OCamlLangImpl4.html
share/doc/llvm/html/tutorial/OCamlLangImpl5.html
share/doc/llvm/html/tutorial/OCamlLangImpl6.html
share/doc/llvm/html/tutorial/OCamlLangImpl7.html
share/doc/llvm/html/tutorial/index.html
share/doc/llvm/ps/
share/doc/llvm/ps/bugpoint.ps
share/doc/llvm/ps/llc.ps
share/doc/llvm/ps/lli.ps
share/doc/llvm/ps/llvm-ar.ps
share/doc/llvm/ps/llvm-as.ps
share/doc/llvm/ps/llvm-bcanalyzer.ps
share/doc/llvm/ps/llvm-config.ps
share/doc/llvm/ps/llvm-db.ps
share/doc/llvm/ps/llvm-dis.ps
share/doc/llvm/ps/llvm-extract.ps
share/doc/llvm/ps/llvm-ld.ps
share/doc/llvm/ps/llvm-link.ps
share/doc/llvm/ps/llvm-nm.ps
share/doc/llvm/ps/llvm-prof.ps
share/doc/llvm/ps/llvm-ranlib.ps
share/doc/llvm/ps/llvmgcc.ps
share/doc/llvm/ps/llvmgxx.ps
share/doc/llvm/ps/opt.ps
share/doc/llvm/ps/tblgen.ps
share/llvm/ share/llvm/
share/llvm/scanview.css share/llvm/scanview.css
share/llvm/sorttable.js share/llvm/sorttable.js