diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2001-06-08 08:43:34 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2001-06-08 08:43:34 +0000 |
commit | f8bb39031559920bba04bffef777ea4b273f271a (patch) | |
tree | 2e0ab77abedf736fd38b6d57bbb65f8317f82eaa /audio/xhippo | |
parent | a0a76f0e1dc70d3ed6556493177767d5931c0ef7 (diff) | |
download | ports-f8bb39031559920bba04bffef777ea4b273f271a.tar.gz ports-f8bb39031559920bba04bffef777ea4b273f271a.zip |
Notes
Diffstat (limited to 'audio/xhippo')
-rw-r--r-- | audio/xhippo/Makefile | 13 | ||||
-rw-r--r-- | audio/xhippo/distinfo | 2 | ||||
-rw-r--r-- | audio/xhippo/files/patch-aa | 18 | ||||
-rw-r--r-- | audio/xhippo/files/patch-ab | 22 | ||||
-rw-r--r-- | audio/xhippo/pkg-plist | 8 |
5 files changed, 60 insertions, 3 deletions
diff --git a/audio/xhippo/Makefile b/audio/xhippo/Makefile index 999e402040e4..b13ad729f65b 100644 --- a/audio/xhippo/Makefile +++ b/audio/xhippo/Makefile @@ -6,12 +6,12 @@ # PORTNAME= xhippo -PORTVERSION= 3.0 +PORTVERSION= 3.1 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= xhippo -MAINTAINER= ports@freebsd.org +MAINTAINER= kevlo@FreeBSD.org RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 @@ -21,6 +21,9 @@ WANT_GNOME= yes GNU_CONFIGURE= yes MAKE_ARGS= CFLAGS="${CFLAGS}" +DOCS= ChangeLog gnu-xhippo.html screenshot.jpeg xhippo.info.gz \ + xhippo.ps.gz xhippo.sgml xhippo.txt.gz + .include <bsd.port.pre.mk> .if defined(HAVE_GNOME) @@ -28,6 +31,12 @@ USE_GNOME= yes .endif post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/xhippo +.for i in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${PREFIX}/share/doc/xhippo +.endfor +.endif ${INSTALL_DATA} ${WRKSRC}/xhippo.config ${PREFIX}/etc/xhippo.config.default .if !exists(${PREFIX}/etc/xhippo.config) ${CP} ${PREFIX}/etc/xhippo.config.default ${PREFIX}/etc/xhippo.config diff --git a/audio/xhippo/distinfo b/audio/xhippo/distinfo index e004e0aa2342..96950d0b7389 100644 --- a/audio/xhippo/distinfo +++ b/audio/xhippo/distinfo @@ -1 +1 @@ -MD5 (xhippo-3.0.tar.gz) = 5bb8540ff973f65ed70f50d69a511bac +MD5 (xhippo-3.1.tar.gz) = 10174dce4b78e68117a84da4e75486ea diff --git a/audio/xhippo/files/patch-aa b/audio/xhippo/files/patch-aa new file mode 100644 index 000000000000..a3017fa71d24 --- /dev/null +++ b/audio/xhippo/files/patch-aa @@ -0,0 +1,18 @@ +--- callbacks.c.orig Wed Jun 6 09:05:30 2001 ++++ callbacks.c Wed Jun 6 09:07:03 2001 +@@ -428,11 +428,12 @@ + if (!(*++q == '\n')) break; + *q = '\0'; + if (strlen(p) > 5 && !strncmp(p, "file:", 5)) { +- if (filetype(p + 5) == 2) { ++#ifdef HAVE_NFTW ++ if (filetype(p + 5) == 2) + add_directory(p + 5); +- } else { ++#endif ++ if (filetype(p + 5) != 2) + add_file(p + 5); +- } + } + p = q + 1; + } diff --git a/audio/xhippo/files/patch-ab b/audio/xhippo/files/patch-ab new file mode 100644 index 000000000000..95529b92f0bd --- /dev/null +++ b/audio/xhippo/files/patch-ab @@ -0,0 +1,22 @@ +--- xhippo.c.orig Wed Jun 6 09:03:19 2001 ++++ xhippo.c Wed Jun 6 09:05:04 2001 +@@ -611,13 +611,14 @@ + + /* Deal with non-options */ + while (optind < argc) { +- if (mode_commandline_songs) { ++ if (mode_commandline_songs) + add_file(argv[optind++]); +- } else if (mode_commandline_dirs) { +- add_directory(argv[optind++]); +- } else { ++ else + read_playlist(argv[optind++]); +- } ++#ifdef HAVE_NFTW ++ if (mode_commandline_dirs) ++ add_directory(argv[optind++]); ++#endif + } + + /* Show the list and scrollbar. */ diff --git a/audio/xhippo/pkg-plist b/audio/xhippo/pkg-plist index 8cc8064dd1c6..51af87618c51 100644 --- a/audio/xhippo/pkg-plist +++ b/audio/xhippo/pkg-plist @@ -2,3 +2,11 @@ bin/xhippo @unexec if cmp -s %D/etc/xhippo.config %D/etc/xhippo.config.default; then rm -f %D/etc/xhippo.config; fi etc/xhippo.config.default @exec test -f %B/xhippo.config || cp %B/%f %B/xhippo.config +share/doc/xhippo/ChangeLog +share/doc/xhippo/gnu-xhippo.html +share/doc/xhippo/screenshot.jpeg +share/doc/xhippo/xhippo.info.gz +share/doc/xhippo/xhippo.ps.gz +share/doc/xhippo/xhippo.sgml +share/doc/xhippo/xhippo.txt.gz +share/locale/de/LC_MESSAGES/xhippo.mo |