1 | # $Id: Portfile 85443 2011-10-13 23:51:45Z dports@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup xcode 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | github.setup mojca aquaterm_aquaterm 1.1.1 testrelease- |
---|
8 | name aquaterm |
---|
9 | categories aqua math science |
---|
10 | maintainers mcalhoun openmaintainer |
---|
11 | license BSD |
---|
12 | description AquaTerm is a viewer that displays vector graphics on Mac OS X |
---|
13 | long_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. |
---|
18 | platforms darwin |
---|
19 | homepage http://aquaterm.sourceforge.net/ |
---|
20 | |
---|
21 | checksums 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)"; |
---|
29 | post-patch { |
---|
30 | reinplace "s|LOCAL_LIBRARY_DIR./Frameworks|FRAMEWORKS_DIR)|g" ${worksrcpath}/AquaTerm.xcodeproj/project.pbxproj |
---|
31 | } |
---|
32 | |
---|
33 | xcode.target AquaTerm |
---|
34 | xcode.configuration Default |
---|
35 | |
---|
36 | xcode.build.settings USER_APPS_DIR=${applications_dir} FRAMEWORKS_DIR=${frameworks_dir} |
---|
37 | |
---|
38 | xcode.destroot.type mixed |
---|
39 | xcode.destroot.settings USER_APPS_DIR=${applications_dir} FRAMEWORKS_DIR=${frameworks_dir} |
---|