[28284] trunk/dports/aqua
source_changes at macosforge.org
source_changes at macosforge.org
Mon Aug 27 14:47:30 PDT 2007
Revision: 28284
http://trac.macosforge.org/projects/macports/changeset/28284
Author: ryandesign at macports.org
Date: 2007-08-27 14:47:29 -0700 (Mon, 27 Aug 2007)
Log Message:
-----------
NicePlayer: new port, thanks to author Jay Tuley. See ticket #12355.
Added Paths:
-----------
trunk/dports/aqua/NicePlayer/
trunk/dports/aqua/NicePlayer/Portfile
Added: trunk/dports/aqua/NicePlayer/Portfile
===================================================================
--- trunk/dports/aqua/NicePlayer/Portfile (rev 0)
+++ trunk/dports/aqua/NicePlayer/Portfile 2007-08-27 21:47:29 UTC (rev 28284)
@@ -0,0 +1,66 @@
+# $Id$
+
+PortSystem 1.0
+
+name NicePlayer
+version 0.95
+categories aqua multimedia
+platforms macosx
+maintainers jay+macports at tuley.name
+homepage http://niceplayer.sourceforge.net
+description Multi-engine Fullscreen Video Player
+long_description This program aims to be a Video player designed for \
+ playing movies nicely for a person who likes to watch or \
+ present movies on their computer (such as the casual \
+ viewer or the video artist). This program features full \
+ screen or border-less floating windows, convenient \
+ controls for scrubbing or queuing movies, and on the \
+ fly playlist creation.
+
+master_sites sourceforge:niceplayer
+distname ${name}_source_${version}
+checksums sha1 3f59c9c501eb94223e972df26758a55bbe8ea26d
+use_bzip2 yes
+extract.suffix .tbz2
+
+post-patch {
+ # Remove subversion version extraction while build.
+ # Needs to be updated with every release of the port or
+ # the automatic updater will not work!
+ # The number stored here is the subversion revision.
+ reinplace "s|REV=.*|REV=514|g" \
+ ${worksrcpath}/niceplayer/Versioning/version.sh
+}
+
+use_configure no
+build.type pbx
+build.dir ${workpath}/${name}_source_${version}/niceplayer
+build.target -configuration Release
+build.args build -project ${name}.xcodeproj SYMROOT=${workpath}/build
+
+pre-destroot {
+ # Rename the following files because of a bug in macports which fails to
+ # uninstall files containg { or }; Ticket #12420
+ set scripts "${workpath}/build/Release/${name}.app/Contents/Resources/Default Scripts"
+
+ file rename "${scripts}/01 Stretch Aspect Ratio/01 To 16-9 {^*L}.scpt" \
+ "${scripts}/01 Stretch Aspect Ratio/01 To 16-9 ⁅^*L⁆.scpt"
+ file rename "${scripts}/01 Stretch Aspect Ratio/01 To 4-3 {^*K}.scpt" \
+ "${scripts}/01 Stretch Aspect Ratio/01 To 4-3 ⁅^*K⁆.scpt"
+
+ file rename "${scripts}/02 Time Control/Go To Time...{^*G}.scpt" \
+ "${scripts}/02 Time Control/Go To Time...⁅^*G⁆.scpt"
+ file rename "${scripts}/02 Time Control/Title Sequence (Approx) Jump {^*J}.scpt" \
+ "${scripts}/02 Time Control/Title Sequence (Approx) Jump⁅^*J⁆.scpt"
+
+ file rename "${scripts}/98 Just For Fun/Send to Background {^*B}.scpt" \
+ "${scripts}/02 Time Control/Send to Background ⁅^*B⁆.scpt"
+ file rename "${scripts}/98 Just For Fun/Set Current Window Transparency {^*T}.scpt" \
+ "${scripts}/02 Time Control/Set Current Window Transparency ⁅^*T⁆.scpt"
+}
+
+destroot {
+ xinstall -m 755 -d ${destroot}/Applications/MacPorts/
+ file copy ${workpath}/build/Release/${name}.app \
+ ${destroot}/Applications/MacPorts/
+}
Property changes on: trunk/dports/aqua/NicePlayer/Portfile
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070827/0b928a0b/attachment.html
More information about the macports-changes
mailing list