Index: head/audio/ksmp3play/Makefile =================================================================== --- head/audio/ksmp3play/Makefile (revision 401854) +++ head/audio/ksmp3play/Makefile (revision 401855) @@ -1,30 +1,33 @@ # Created by: Ying-Chieh Liao # $FreeBSD$ PORTNAME= ksmp3play PORTVERSION= 0.5.2.1 PORTREVISION= 4 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}/${PORTVERSION:R} MAINTAINER= ports@FreeBSD.org COMMENT= Curses-based MP3 player +LICENSE= GPLv2 # or later +LICENSE_FILE= ${WRKSRC}/COPYING + LIB_DEPENDS= libsmpeg.so:${PORTSDIR}/multimedia/smpeg GNU_CONFIGURE= yes USES= pathfix USE_SDL= sdl NO_WRKSUBDIR= yes EXTRACT_AFTER_ARGS= --exclude CVS CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= DOCS -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include Index: head/audio/ksmp3play/files/patch-configure =================================================================== --- head/audio/ksmp3play/files/patch-configure (revision 401854) +++ head/audio/ksmp3play/files/patch-configure (revision 401855) @@ -1,23 +1,23 @@ ---- configure.orig Mon Aug 20 04:22:22 2001 -+++ configure Thu Oct 23 12:10:52 2003 -@@ -1258,15 +1258,15 @@ +--- configure.orig 2008-06-15 10:23:18 UTC ++++ configure +@@ -1258,15 +1258,15 @@ int main (int argc, char *argv[]) } else { - printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the -minimum version\n", $sdl_major_version, $sdl_minor_version, + printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the \ +minimum version\n", $sdl_major_version, $sdl_minor_version, \ $sdl_micro_version); - printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, + printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, \ then it is\n", major, minor, micro); printf("*** best to upgrade to the required version.\n"); - printf("*** If sdl-config was wrong, set the environment variable + printf("*** If sdl-config was wrong, set the environment variable \ SDL_CONFIG\n"); - printf("*** to point to the correct copy of sdl-config, and remove + printf("*** to point to the correct copy of sdl-config, and remove \ the file\n"); printf("*** config.cache before re-running configure\n"); return 1; Index: head/audio/ksmp3play/files/patch-ksmp3play.c =================================================================== --- head/audio/ksmp3play/files/patch-ksmp3play.c (revision 401854) +++ head/audio/ksmp3play/files/patch-ksmp3play.c (revision 401855) @@ -1,10 +1,10 @@ ---- ksmp3play.c.orig Mon Aug 20 04:43:37 2001 -+++ ksmp3play.c Sun Dec 29 11:01:56 2002 -@@ -22,6 +22,7 @@ +--- ksmp3play.c.orig 2008-06-17 05:57:56 UTC ++++ ksmp3play.c +@@ -42,6 +42,7 @@ #include "ksmp3play.h" #include #include +#include #include #include #include Index: head/audio/ksmp3play/files/patch-ksmp3play.h =================================================================== --- head/audio/ksmp3play/files/patch-ksmp3play.h (revision 401854) +++ head/audio/ksmp3play/files/patch-ksmp3play.h (revision 401855) @@ -1,21 +1,21 @@ ---- ksmp3play.h.orig Sun Nov 4 20:25:57 2001 -+++ ksmp3play.h Sun Nov 4 20:26:42 2001 +--- ksmp3play.h.orig 2008-04-14 00:22:27 UTC ++++ ksmp3play.h @@ -29,8 +29,9 @@ #include #include #include -#ifdef __linux__ +/* #ifdef __linux__ */ #include +/* #else struct option { -@@ -43,6 +44,7 @@ +@@ -43,6 +44,7 @@ struct option # define required_argument 1 # define optional_argument 2 #endif +*/ #define BUFLEN 200 #ifdef HAVE_CONFIG_H #include Index: head/audio/ksmp3play/files/patch-windows.c =================================================================== --- head/audio/ksmp3play/files/patch-windows.c (revision 401854) +++ head/audio/ksmp3play/files/patch-windows.c (revision 401855) @@ -1,11 +1,11 @@ ---- windows.c.orig Mon Aug 20 02:43:24 2001 -+++ windows.c Sun Dec 29 12:45:25 2002 -@@ -22,7 +22,7 @@ +--- windows.c.orig 2008-06-17 05:57:56 UTC ++++ windows.c +@@ -30,7 +30,7 @@ #include "ksmp3play.h" #include -#include +#include #include #include #include