- 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:
Ion-Mihai Tetcu 2006-05-14 12:23:22 +00:00
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

View file

@ -23,8 +23,6 @@ DISTFILES?= VTK-${PORTVERSION}-cvs${CVSDATE}.tar.gz
MAINTAINER= bacon@smithers.neuro.mcw.edu
COMMENT?= The Visualization Toolkit shared libs
BROKEN= Incorrect pkg-plist
LATEST_LINK= vtk43
PREFIX= ${LOCALBASE}/vtk43
@ -38,6 +36,7 @@ DOCSDIR= ${PREFIX}/share/doc/${PKGNAME}
PLIST= ${.CURDIR}/pkg-plist
FILESDIR= ${.CURDIR}/files
RESTRICTED= yes
NO_MTREE= yes
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!
OPTFLAGPRESENT= ${TTT:C/^.*-O[23].*$/yes/}
.if ${OPTFLAGPRESENT} == "yes"
USE_GCC= 3.3
USE_GCC= 3.3+
.endif
.endif
@ -200,6 +199,7 @@ patch-common:
install-binaries:
.if defined(BINARIES)
@${MKDIR} ${PREFIX}/bin
@${ECHO_MSG} "Installing binaries to ${PREFIX}/bin :"
.for i in ${BINARIES}
@${ECHO_MSG} "Installing ${i} ..."
@ -208,6 +208,7 @@ install-binaries:
.endif
install-libs:
@${MKDIR} ${PREFIX}/lib
@${ECHO_MSG} "Installing shared libraries to ${PREFIX}/lib ..."
.for i in ${VTK_KITS:S/$/${WRAP}/} ${EXTRA_LIBS}
@${ECHO_MSG} "Installing libvtk${i}.so ..."

View file

@ -43,3 +43,7 @@ lib/libvtkftgl.so.%%LIBVER%%
%%DOCSDIR%%/README.patented-classes
%%DOCSDIR%%/vtkLogo.jpg
@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