/
Portfile
32 lines (25 loc) · 998 Bytes
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# -*- 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
PortGroup python 1.0
name py-id3lib
version 0.5.1
categories-append audio
license LGPL-2.1
platforms darwin
maintainers liqui.org:rjkroege maubi.net:waterson openmaintainer
description Python module for reading and writing id3v2 tags
long_description ${description}
homepage http://pyid3lib.sourceforge.net/
master_sites sourceforge:pyid3lib
distname pyid3lib-${version}
checksums md5 5fd37a7dda7c540f665ca5d428a28f5e
python.versions 27
if {${name} ne ${subport}} {
depends_lib-append \
port:id3lib port:zlib
patchfiles patch-setup.py.diff \
patch-pyid3lib.py.diff
post-patch {
reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
}
}