Ticket #50580: Portfile

File Portfile, 1.1 KB (added by casey (Casey Rodarmor), 8 years ago)

Portfile

Line 
1# -*- 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
2# $Id$
3
4PortSystem             1.0
5PortGroup              github 1.0
6PortGroup              python 1.0
7
8github.setup           casey edmv 0.1.0
9github.tarball_from    releases
10
11categories-append      sysutils
12platforms              darwin
13license                permissive
14
15maintainers            rodarmor.com:casey
16description            Batch rename files with your favorite editor
17long_description       edmv allows you to interactively rename files with the \
18                       editor of your choice.
19
20checksums              rmd160  ceefdd6db98ecb69a612d368de3f8d6577e1e066 \
21                       sha256  8fbe7efc519f291f936aa001f3960dec56b6149c8fed06402a504ae993d1ce31
22
23python.default_version 35
24homepage               https://github.com/casey/edmv
25supported_archs        noarch
26use_configure          no
27build                  {}
28
29post-patch {
30  reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python3.5|" ${worksrcpath}/edmv
31}
32
33destroot {
34  xinstall -m 0755 ${worksrcpath}/edmv ${destroot}${prefix}/bin
35}