source: trunk/dports/x11/rox-filer/Portfile

Last change on this file was 137841, checked in by larryv@…, 2 years ago

Delete "rox" category

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# $Id: Portfile 137841 2015-06-21 06:02:26Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            rox-filer
6version         2.8
7categories      x11
8platforms       darwin freebsd linux
9license         GPL-2+
10maintainers     nomaintainer
11description     fast and powerful file manager
12long_description \
13ROX-Filer is a fast and powerful graphical file manager. It has full \
14drag-and-drop support and background file operations, and is highly \
15configurable. It can also act as a pinboard, allowing you to pin \
16frequently used files to the desktop background.
17homepage        http://rox.sourceforge.net/desktop/ROX-Filer
18master_sites    sourceforge:rox
19use_bzip2       yes
20checksums       md5 f31b2999ac1ec3547ba2506655bf7d3f \
21                sha1 7eec68a106a2605b2733025e44d890961b52ea1e \
22                rmd160 9f0aecde32fdd9ecc39efe80bd037b95850bb38c
23
24depends_build   port:pkgconfig
25depends_lib     port:shared-mime-info port:libxml2 path:lib/pkgconfig/glib-2.0.pc:glib2 port:gtk2 \
26                port:xorg-libX11 port:xorg-libsm port:libglade2
27
28use_configure           no
29universal_variant       no
30
31configure.args --x-include=${prefix}/include --x-lib=${prefix}/lib
32
33#build.env      CC=${configure.cc} CPPFLAGS=${configure.cppflags} LDFLAGS=${configure.ldflags}
34build           { system "cd ${worksrcpath}; CC=${configure.cc} CPPFLAGS=\"${configure.cppflags}\" LDFLAGS=\"${configure.ldflags}\" ./ROX-Filer/AppRun --compile ${configure.args}" }
35
36destroot {
37        xinstall -d ${destroot}${prefix}/etc/xdg/rox.sourceforge.net
38        copy ${worksrcpath}/Choices/MIME-types ${destroot}${prefix}/etc/xdg/rox.sourceforge.net
39        xinstall -d ${destroot}${prefix}/share/mime/packages
40        copy ${worksrcpath}/rox.xml ${destroot}${prefix}/share/mime/packages
41        xinstall -d ${destroot}${prefix}/apps
42        copy ${worksrcpath}/ROX-Filer ${destroot}${prefix}/apps
43        xinstall -m 755 ${filespath}/rox.sh.in ${destroot}${prefix}/bin/rox
44        reinplace "s,@@APPDIR@@,${prefix}/apps," ${destroot}${prefix}/bin/rox
45        xinstall ${worksrcpath}/rox.1 ${destroot}${prefix}/share/man/man1
46        ln -s rox.1 ${destroot}${prefix}/share/man/man1/ROX-Filer.1
47}
48
49# not in mtree: ${prefix}/apps
50destroot.violate_mtree  yes
Note: See TracBrowser for help on using the repository browser.