-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Copy pathPortfile
40 lines (29 loc) · 1.33 KB
/
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
33
34
35
36
37
38
39
40
# -*- 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 github 1.0
PortGroup cmake 1.1
name AtomicParsley-devel
github.setup wez atomicparsley 1ed9031faaea5c75f88b2135d04b29ef24766788
github.tarball_from archive
version 20240608
revision 0
categories multimedia
maintainers nomaintainer
license GPL-2+
description MPEG-4 command line tool
long_description AtomicParsley is a lightweight command line program \
for reading, parsing and setting metadata into MPEG-4 \
files, in particular, iTunes-style metadata.
checksums rmd160 0d99568fd5c82d8a7b6c0d5a04271e9d2e3a4c84 \
sha256 3697fc0dcb4e7dadba9a9bad598afcdc214a78127981640aa1f62b76dc070f20 \
size 231898
conflicts AtomicParsley
depends_lib port:zlib
if {${os.platform} eq "darwin" && ${os.major} < 16} {
patchfiles-append patch-use-deprecated.diff
}
compiler.cxx_standard 2011
post-patch {
reinplace "s|$\{\PACKAGE_VERSION\}\|${version}|g" ${worksrcpath}/CMakeLists.txt
reinplace "s|$\{\BUILD_INFO\}\|${cmake.build_type}|g" ${worksrcpath}/CMakeLists.txt
}