- Fix plist.
- Depend on gcc 3.3+ since there's no need to use older ggc's on 6, 7. PR: ports/96986 Submitted by: Jason Bacon <bacon@smithers.neuro.mcw.edu> (maintianer) [1] itetcu (me) [2] Approved by: maintainer [2], lawrance (mentor)
This commit is contained in:
parent
84f845abb3
commit
e227284f5c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=162316
2 changed files with 8 additions and 3 deletions
|
@ -23,8 +23,6 @@ DISTFILES?= VTK-${PORTVERSION}-cvs${CVSDATE}.tar.gz
|
||||||
MAINTAINER= bacon@smithers.neuro.mcw.edu
|
MAINTAINER= bacon@smithers.neuro.mcw.edu
|
||||||
COMMENT?= The Visualization Toolkit shared libs
|
COMMENT?= The Visualization Toolkit shared libs
|
||||||
|
|
||||||
BROKEN= Incorrect pkg-plist
|
|
||||||
|
|
||||||
LATEST_LINK= vtk43
|
LATEST_LINK= vtk43
|
||||||
|
|
||||||
PREFIX= ${LOCALBASE}/vtk43
|
PREFIX= ${LOCALBASE}/vtk43
|
||||||
|
@ -38,6 +36,7 @@ DOCSDIR= ${PREFIX}/share/doc/${PKGNAME}
|
||||||
PLIST= ${.CURDIR}/pkg-plist
|
PLIST= ${.CURDIR}/pkg-plist
|
||||||
FILESDIR= ${.CURDIR}/files
|
FILESDIR= ${.CURDIR}/files
|
||||||
RESTRICTED= yes
|
RESTRICTED= yes
|
||||||
|
NO_MTREE= yes
|
||||||
|
|
||||||
VTK_KITS= Common Filtering Graphics Hybrid IO Imaging Rendering Parallel Patented
|
VTK_KITS= Common Filtering Graphics Hybrid IO Imaging Rendering Parallel Patented
|
||||||
|
|
||||||
|
@ -74,7 +73,7 @@ INSTALLS_SHLIB= yes
|
||||||
TTT= "${CXXFLAGS}" # this quotes are VERY important!
|
TTT= "${CXXFLAGS}" # this quotes are VERY important!
|
||||||
OPTFLAGPRESENT= ${TTT:C/^.*-O[23].*$/yes/}
|
OPTFLAGPRESENT= ${TTT:C/^.*-O[23].*$/yes/}
|
||||||
.if ${OPTFLAGPRESENT} == "yes"
|
.if ${OPTFLAGPRESENT} == "yes"
|
||||||
USE_GCC= 3.3
|
USE_GCC= 3.3+
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -200,6 +199,7 @@ patch-common:
|
||||||
|
|
||||||
install-binaries:
|
install-binaries:
|
||||||
.if defined(BINARIES)
|
.if defined(BINARIES)
|
||||||
|
@${MKDIR} ${PREFIX}/bin
|
||||||
@${ECHO_MSG} "Installing binaries to ${PREFIX}/bin :"
|
@${ECHO_MSG} "Installing binaries to ${PREFIX}/bin :"
|
||||||
.for i in ${BINARIES}
|
.for i in ${BINARIES}
|
||||||
@${ECHO_MSG} "Installing ${i} ..."
|
@${ECHO_MSG} "Installing ${i} ..."
|
||||||
|
@ -208,6 +208,7 @@ install-binaries:
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
install-libs:
|
install-libs:
|
||||||
|
@${MKDIR} ${PREFIX}/lib
|
||||||
@${ECHO_MSG} "Installing shared libraries to ${PREFIX}/lib ..."
|
@${ECHO_MSG} "Installing shared libraries to ${PREFIX}/lib ..."
|
||||||
.for i in ${VTK_KITS:S/$/${WRAP}/} ${EXTRA_LIBS}
|
.for i in ${VTK_KITS:S/$/${WRAP}/} ${EXTRA_LIBS}
|
||||||
@${ECHO_MSG} "Installing libvtk${i}.so ..."
|
@${ECHO_MSG} "Installing libvtk${i}.so ..."
|
||||||
|
|
|
@ -43,3 +43,7 @@ lib/libvtkftgl.so.%%LIBVER%%
|
||||||
%%DOCSDIR%%/README.patented-classes
|
%%DOCSDIR%%/README.patented-classes
|
||||||
%%DOCSDIR%%/vtkLogo.jpg
|
%%DOCSDIR%%/vtkLogo.jpg
|
||||||
@unexec rmdir %D/%%DOCSDIR%% 2>/dev/null || true
|
@unexec rmdir %D/%%DOCSDIR%% 2>/dev/null || true
|
||||||
|
@unexec rmdir %D/lib 2>/dev/null || true
|
||||||
|
@unexec rmdir %D/share/doc 2>/dev/null || true
|
||||||
|
@unexec rmdir %D/share 2>/dev/null || true
|
||||||
|
@unexec rmdir %D/bin 2>/dev/null || true
|
||||||
|
|
Loading…
Reference in a new issue