- Add LICENSE_FILE
- Add NO_ARCH - Switch to options helpers
This commit is contained in:
parent
f8f1c2c1ce
commit
ec9e11a4fd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=401853
@ -12,16 +12,18 @@ MAINTAINER= ports@FreeBSD.org
|
|||||||
COMMENT= Curses-based front-end for various audio players
|
COMMENT= Curses-based front-end for various audio players
|
||||||
|
|
||||||
LICENSE= GPLv2
|
LICENSE= GPLv2
|
||||||
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
|
||||||
USES= gettext gmake python:2
|
USES= gettext gmake python:2
|
||||||
|
|
||||||
MAKE_ARGS= PREFIX="${STAGEDIR}${PREFIX}"
|
MAKE_ARGS= PREFIX="${STAGEDIR}${PREFIX}"
|
||||||
|
NO_ARCH= yes
|
||||||
|
|
||||||
PORTDOCS= README
|
PORTDOCS= README
|
||||||
|
|
||||||
OPTIONS_DEFINE= DOCS
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
post-install:
|
post-install-DOCS-on:
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- Makefile.bak Sun Dec 28 15:51:04 2003
|
--- Makefile.orig 2003-08-28 12:22:48 UTC
|
||||||
+++ Makefile Sun Dec 28 15:51:44 2003
|
+++ Makefile
|
||||||
@@ -14,7 +14,7 @@
|
@@ -14,7 +14,7 @@ clean: recursive-clean
|
||||||
recursive-all recursive-install recursive-clean:
|
recursive-all recursive-install recursive-clean:
|
||||||
@target=$@; \
|
@target=$@; \
|
||||||
for i in $(SUBDIRS); do \
|
for i in $(SUBDIRS); do \
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
|
--- cplay.orig 2003-12-05 08:20:56 UTC
|
||||||
--- cplay.orig 2003-12-05 09:20:56.000000000 +0100
|
+++ cplay
|
||||||
+++ cplay 2008-03-27 00:36:13.000000000 +0100
|
@@ -63,7 +63,7 @@ except:
|
||||||
@@ -63,7 +63,7 @@
|
|
||||||
|
|
||||||
# ------------------------------------------
|
# ------------------------------------------
|
||||||
XTERM = re.search("rxvt|xterm", os.environ["TERM"])
|
XTERM = re.search("rxvt|xterm", os.environ["TERM"])
|
||||||
@ -10,7 +9,7 @@
|
|||||||
|
|
||||||
# ------------------------------------------
|
# ------------------------------------------
|
||||||
def which(program):
|
def which(program):
|
||||||
@@ -906,11 +906,20 @@
|
@@ -906,11 +906,20 @@ class PlaylistWindow(TagListWindow):
|
||||||
|
|
||||||
def command_change_viewpoint(self, klass=PlaylistEntry):
|
def command_change_viewpoint(self, klass=PlaylistEntry):
|
||||||
if not globals().get("ID3"):
|
if not globals().get("ID3"):
|
||||||
@ -34,7 +33,7 @@
|
|||||||
TagListWindow.command_change_viewpoint(self, klass)
|
TagListWindow.command_change_viewpoint(self, klass)
|
||||||
|
|
||||||
def get_title(self):
|
def get_title(self):
|
||||||
@@ -962,9 +971,11 @@
|
@@ -962,9 +971,11 @@ class PlaylistWindow(TagListWindow):
|
||||||
try:
|
try:
|
||||||
if os.path.isdir(pathname):
|
if os.path.isdir(pathname):
|
||||||
app.status(_("Working..."))
|
app.status(_("Working..."))
|
||||||
@ -47,7 +46,7 @@
|
|||||||
else:
|
else:
|
||||||
pathname = self.fix_url(pathname)
|
pathname = self.fix_url(pathname)
|
||||||
self.append(PlaylistEntry(pathname))
|
self.append(PlaylistEntry(pathname))
|
||||||
@@ -1301,6 +1312,17 @@
|
@@ -1301,6 +1312,17 @@ class TimeOffsetPlayer(Player):
|
||||||
self.set_position(head, head+tail, [head, tail])
|
self.set_position(head, head+tail, [head, tail])
|
||||||
|
|
||||||
# ------------------------------------------
|
# ------------------------------------------
|
||||||
@ -65,7 +64,7 @@
|
|||||||
class NoOffsetPlayer(Player):
|
class NoOffsetPlayer(Player):
|
||||||
|
|
||||||
def parse_buf(self):
|
def parse_buf(self):
|
||||||
@@ -1334,8 +1356,6 @@
|
@@ -1334,8 +1356,6 @@ class Timeout:
|
||||||
# ------------------------------------------
|
# ------------------------------------------
|
||||||
class FIFOControl:
|
class FIFOControl:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
@ -74,7 +73,7 @@
|
|||||||
self.commands = {"pause" : app.toggle_pause,
|
self.commands = {"pause" : app.toggle_pause,
|
||||||
"next" : app.next_song,
|
"next" : app.next_song,
|
||||||
"prev" : app.prev_song,
|
"prev" : app.prev_song,
|
||||||
@@ -1346,6 +1366,15 @@
|
@@ -1346,6 +1366,15 @@ class FIFOControl:
|
||||||
"volup" : app.inc_volume,
|
"volup" : app.inc_volume,
|
||||||
"voldown" : app.dec_volume,
|
"voldown" : app.dec_volume,
|
||||||
"quit" : app.quit}
|
"quit" : app.quit}
|
||||||
@ -90,7 +89,7 @@
|
|||||||
|
|
||||||
def handle_command(self):
|
def handle_command(self):
|
||||||
command = string.strip(self.fd.readline())
|
command = string.strip(self.fd.readline())
|
||||||
@@ -1419,6 +1448,11 @@
|
@@ -1419,6 +1448,11 @@ class Application:
|
||||||
XTERM and sys.stderr.write("\033]0;%s\a" % "xterm")
|
XTERM and sys.stderr.write("\033]0;%s\a" % "xterm")
|
||||||
tty and tty.tcsetattr(sys.stdin.fileno(), tty.TCSADRAIN, self.tcattr)
|
tty and tty.tcsetattr(sys.stdin.fileno(), tty.TCSADRAIN, self.tcattr)
|
||||||
print
|
print
|
||||||
@ -102,7 +101,7 @@
|
|||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
while 1:
|
while 1:
|
||||||
@@ -1615,7 +1649,7 @@
|
@@ -1615,7 +1649,7 @@ def main():
|
||||||
if opt == "-v": app.mixer("toggle")
|
if opt == "-v": app.mixer("toggle")
|
||||||
if args or playlist:
|
if args or playlist:
|
||||||
for i in args or playlist:
|
for i in args or playlist:
|
||||||
@ -111,7 +110,7 @@
|
|||||||
app.win_tab.change_window()
|
app.win_tab.change_window()
|
||||||
app.run()
|
app.run()
|
||||||
except SystemExit:
|
except SystemExit:
|
||||||
@@ -1627,15 +1661,17 @@
|
@@ -1627,15 +1661,17 @@ def main():
|
||||||
|
|
||||||
# ------------------------------------------
|
# ------------------------------------------
|
||||||
PLAYERS = [
|
PLAYERS = [
|
||||||
@ -131,5 +130,3 @@
|
|||||||
]
|
]
|
||||||
|
|
||||||
def VALID_SONG(name):
|
def VALID_SONG(name):
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user