diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2003-01-13 11:00:48 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2003-01-13 11:00:48 +0000 |
commit | 837ac1383f32226ac351c5a823cbfeb8c3b5db64 (patch) | |
tree | 2f8f1425836375410f2ef3e4af5d335aff2fc612 | |
parent | b163e79e9af42ee30d0b976a4a4882eb94d3054c (diff) | |
download | ports-837ac1383f32226ac351c5a823cbfeb8c3b5db64.tar.gz ports-837ac1383f32226ac351c5a823cbfeb8c3b5db64.zip |
Notes
-rw-r--r-- | audio/ksmp3play/Makefile | 16 | ||||
-rw-r--r-- | audio/ksmp3play/files/patch-ksmp3play.c | 10 | ||||
-rw-r--r-- | audio/ksmp3play/files/patch-windows.c | 11 |
3 files changed, 30 insertions, 7 deletions
diff --git a/audio/ksmp3play/Makefile b/audio/ksmp3play/Makefile index ec3bcc04a900..dc602b910c23 100644 --- a/audio/ksmp3play/Makefile +++ b/audio/ksmp3play/Makefile @@ -13,24 +13,26 @@ MASTER_SITES= http://www.xanadunet.net/ksmp3play/ MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \ - smpeg:${PORTSDIR}/graphics/smpeg \ - gnugetopt:${PORTSDIR}/devel/libgnugetopt +LIB_DEPENDS= smpeg.1:${PORTSDIR}/graphics/smpeg -USE_REINPLACE= yes SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config + +USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= SDL_CONFIG=${SDL_CONFIG} \ - LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" + CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" + MAN1= ksmp3play.1 post-patch: @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure -.if !defined(NOPORTDOCS) post-install: +.if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - ${CP} -R ${WRKSRC}/doc/ksmp3play* ${DOCSDIR} + ${TAR} -C ${WRKSRC}/doc --exclude "CVS" -cf - . | \ + ${TAR} -C ${DOCSDIR} --unlink -xf - + @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/audio/ksmp3play/files/patch-ksmp3play.c b/audio/ksmp3play/files/patch-ksmp3play.c new file mode 100644 index 000000000000..0f7efd9da3a4 --- /dev/null +++ b/audio/ksmp3play/files/patch-ksmp3play.c @@ -0,0 +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 @@ + #include "ksmp3play.h" + #include <smpeg/smpeg.h> + #include <curses.h> ++#include <sys/time.h> + #include <sys/resource.h> + #include <string.h> + #include <ctype.h> diff --git a/audio/ksmp3play/files/patch-windows.c b/audio/ksmp3play/files/patch-windows.c new file mode 100644 index 000000000000..6a89ca129d13 --- /dev/null +++ b/audio/ksmp3play/files/patch-windows.c @@ -0,0 +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 @@ + #include "ksmp3play.h" + + #include <sys/types.h> +-#include <sys/dir.h> ++#include <dirent.h> + #include <sys/param.h> + #include <stdio.h> + #include <unistd.h> |