Ticket #34346: aquaterm.Portfile

File aquaterm.Portfile, 1.8 KB (added by mojca (Mojca Miklavec), 12 years ago)

Portfile for AquaTerm 1.1.1

Line 
1# $Id: Portfile 85443 2011-10-13 23:51:45Z dports@macports.org $
2
3PortSystem              1.0
4PortGroup               xcode 1.0
5PortGroup               github 1.0
6
7github.setup            mojca aquaterm_aquaterm 1.1.1 testrelease-
8name                    aquaterm
9categories              aqua math science
10maintainers             mcalhoun openmaintainer
11license                 BSD
12description             AquaTerm is a viewer that displays vector graphics on Mac OS X
13long_description        AquaTerm is a viewer app that displays vector \
14                        graphics.  Other apps connect to AquaTerm using a \
15                        simple remote object messaging protocol.  By adding \
16                        \"adapters\" to legacy code very little coding is \
17                        needed to bring it to OS X.
18platforms               darwin
19homepage                http://aquaterm.sourceforge.net/
20
21checksums               sha256  940ec764c2cc70caa00311897b6c7f537d6f2dd2150531bd0682ca0146794297 \
22                        md5     61e0a048fe48b41752288984af80f9f8
23
24# we could set LOCAL_LIBRARY_DIR to ${prefix}/Library,
25# but since users can change --with-frameworks-dir variable, the only way to do it properly
26# seem to be modifying INSTALL_PATH to ensure aquaterm is installed into FRAMEWORKS_DIR.
27#
28# INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; -> INSTALL_PATH = "$(FRAMEWORKS_DIR)";
29post-patch {
30    reinplace "s|LOCAL_LIBRARY_DIR./Frameworks|FRAMEWORKS_DIR)|g" ${worksrcpath}/AquaTerm.xcodeproj/project.pbxproj
31}
32
33xcode.target            AquaTerm
34xcode.configuration     Default
35
36xcode.build.settings    USER_APPS_DIR=${applications_dir} FRAMEWORKS_DIR=${frameworks_dir}
37
38xcode.destroot.type     mixed
39xcode.destroot.settings USER_APPS_DIR=${applications_dir} FRAMEWORKS_DIR=${frameworks_dir}