mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
e6ae104847
other ports.
48 lines
1.0 KiB
Makefile
48 lines
1.0 KiB
Makefile
# New ports collection Makefile for: Insight Toolkit
|
|
# Date created: 10 Aug 2006
|
|
# Whom: bacon@smithers.neuro.mcw.edu
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= InsightToolkit
|
|
PORTVERSION= 2.8.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= science biology
|
|
MASTER_SITES= SF
|
|
MASTER_SITE_SUBDIR= itk
|
|
|
|
MAINTAINER= jwbacon@tds.net
|
|
COMMENT= Insight Toolkit
|
|
|
|
OPTIONS= EXAMPLES "Build examples (very time consuming)" off \
|
|
TESTING "Build testing programs (very time consuming)" off
|
|
|
|
USE_LDCONFIG= ${PREFIX}/lib/InsightToolkit
|
|
NO_PACKAGE= License does not allow redistribution of binaries
|
|
|
|
USE_CMAKE= yes
|
|
CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !defined(WITH_EXAMPLES)
|
|
CMAKE_ARGS+= "-DBUILD_EXAMPLES:BOOL=OFF"
|
|
.endif
|
|
|
|
.if !defined(WITH_TESTING)
|
|
CMAKE_ARGS+= "-DBUILD_TESTING:BOOL=OFF"
|
|
.endif
|
|
|
|
post-install:
|
|
@for lib in ${PREFIX}/lib/InsightToolkit/*.so ; do \
|
|
${LN} -s $$lib.2.8.0 $$lib.2 ; \
|
|
done
|
|
@${ECHO_CMD}
|
|
@${CAT} ${PKGMESSAGE}
|
|
@${ECHO_CMD}
|
|
|
|
.include <bsd.port.post.mk>
|