Permalink
Fetching contributors…
Cannot retrieve contributors at this time
55 lines (48 sloc) 2.25 KB
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
name gvemod-labeler
version 0.2
revision 2
categories science graphics x11
maintainers {raphael @raphael-st} openmaintainer
description An interactive tool for generating \
short texts as vector objects inside Geomview
long_description This is the Labeler emodule, an interactive tool \
for generating short texts as vector objects \
inside Geomview. emodules are kind of plugins \
which extend the functionality of Geomview (an \
interactive 3d viewing program).
homepage http://www.geomview.org/
license LGPL-2+
platforms darwin
master_sites sourceforge
master_sites.mirror_subdir geomview
livecheck.name geomview
livecheck.distname ${name}
checksums rmd160 811171c355964cb81d206719208520e1857c39e8 \
sha256 33ab90bac97ae3c036f985eebea5ff1324b87aa3b4802fb5866c8b2af7e99ec4
depends_lib port:geomview \
port:tk
# Work around case-inensitivity "Labeler" Tcl script <-> "labeler" module
post-extract {
move ${worksrcpath}/src/Labeler ${worksrcpath}/src/Labeler.tc
reinplace "s|module_tcl_DATA = Labeler|module_tcl_DATA = Labeler.tc|" \
${worksrcpath}/src/Makefile.in
}
post-destroot {
move ${destroot}${prefix}/libexec/geomview/tcl/Labeler.tc \
${destroot}${prefix}/libexec/geomview/tcl/Labeler
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -d ${docdir}
xinstall -m 644 -W ${worksrcpath} \
AUTHORS \
COPYING \
ChangeLog \
NEWS \
README \
${docdir}
}
platform darwin 9 { configure.ldflags-append \
-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:\
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
}