Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AtomicParsley, AtomicParsley-devel: Add modeline
and adjust whitespace to match and for consistency.
- Loading branch information
1 parent
b1e4889
commit 5918a22
Showing
2 changed files
with
52 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,48 @@ | ||
PortSystem 1.0 | ||
# -*- 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 | ||
|
||
name AtomicParsley-devel | ||
set svn_rev 110 | ||
version 0.9.2-r${svn_rev} | ||
categories multimedia | ||
maintainers nomaintainer | ||
license GPL-2+ | ||
PortSystem 1.0 | ||
|
||
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. | ||
platforms darwin | ||
homepage http://atomicparsley.sourceforge.net | ||
name AtomicParsley-devel | ||
set svn_rev 110 | ||
version 0.9.2-r${svn_rev} | ||
categories multimedia | ||
platforms darwin | ||
maintainers nomaintainer | ||
license GPL-2+ | ||
|
||
depends_lib port:zlib | ||
description MPEG-4 command line tool | ||
|
||
conflicts AtomicParsley | ||
long_description AtomicParsley is a lightweight command line program \ | ||
for reading, parsing and setting metadata into MPEG-4 files. | ||
|
||
fetch.type svn | ||
svn.url https://svn.code.sf.net/p/atomicparsley/code/trunk/atomicparsley | ||
svn.revision ${svn_rev} | ||
homepage http://atomicparsley.sourceforge.net | ||
fetch.type svn | ||
svn.url https://svn.code.sf.net/p/atomicparsley/code/trunk/atomicparsley | ||
svn.revision ${svn_rev} | ||
|
||
conflicts AtomicParsley | ||
|
||
depends_lib port:zlib | ||
|
||
post-patch { | ||
# fix usage of private type, b0rked in Leopard | ||
# -eridius | ||
reinplace -locale en_US.ISO8859-1 s|_NSBitmapImageFileType|NSBitmapImageFileType|g ${worksrcpath}/src/AP_NSImage.mm | ||
|
||
# fix initializing a variable of type 'char *' with an rvalue of type 'const char *' b0rked in High Sierra | ||
reinplace -locale en_US.ISO8859-1 -W ${worksrcpath}/src "s|= strrchr|= (char*)strrchr|g" AtomicParsley.cpp AP_MetadataListings.cpp AP_NSFile_utils.mm AP_NSImage.mm | ||
|
||
# fix initializing a variable of type 'char *' with an rvalue of type 'const char *' b0rked in High Sierra | ||
reinplace -locale en_US.ISO8859-1 -W ${worksrcpath}/src "s|= strrchr|= (char*)strrchr|g" AP_MetadataListings.cpp AP_NSFile_utils.mm AP_NSImage.mm AtomicParsley.cpp | ||
} | ||
|
||
worksrcdir atomicparsley | ||
use_autoconf yes | ||
worksrcdir atomicparsley | ||
use_autoconf yes | ||
pre-configure { | ||
system -W ${worksrcpath} "autoheader" | ||
} | ||
|
||
use_parallel_build no | ||
use_parallel_build no | ||
|
||
destroot { | ||
xinstall -m 755 ${worksrcpath}/AtomicParsley ${destroot}${prefix}/bin | ||
} | ||
|
||
livecheck.type none | ||
livecheck.type none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters