diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-07-27 16:21:34 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-07-27 16:21:34 +0000 |
commit | 7a46ce361471083044c777be7e4c6e84c7decf7f (patch) | |
tree | 862e926dc8a3d79309f8182bd11a5ab48244a5a8 /multimedia/avinfo | |
parent | Upgrade to 1.9.3. (diff) |
- Update to version 0.7.3
PR: 54905
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Approved by: fjoe (mentor) (implicit)
Notes
Notes:
svn path=/head/; revision=85685
Diffstat (limited to 'multimedia/avinfo')
-rw-r--r-- | multimedia/avinfo/Makefile | 13 | ||||
-rw-r--r-- | multimedia/avinfo/distinfo | 2 | ||||
-rw-r--r-- | multimedia/avinfo/files/patch-cmdline.c | 11 | ||||
-rw-r--r-- | multimedia/avinfo/pkg-descr | 2 | ||||
-rw-r--r-- | multimedia/avinfo/pkg-plist | 14 |
5 files changed, 19 insertions, 23 deletions
diff --git a/multimedia/avinfo/Makefile b/multimedia/avinfo/Makefile index fb08cdb0a75e..5994025b07fb 100644 --- a/multimedia/avinfo/Makefile +++ b/multimedia/avinfo/Makefile @@ -7,28 +7,27 @@ # PORTNAME= avinfo -PORTVERSION= 0.7.1 +PORTVERSION= 0.7.3 CATEGORIES= multimedia MASTER_SITES= http://anime.org.ru/soft/avinfo/ +DISTNAME= ${PORTNAME}-${PORTVERSION}.src MAINTAINER= ports@FreeBSD.org COMMENT= A utility for displaying AVI header information -USE_ZIP= yes WRKSRC= ${WRKDIR}/src +USE_ZIP= yes +USE_REINPLACE= yes + post-patch: @(cd ${WRKSRC} && ${CP} messages.c temp ; \ ${CAT} temp | col -b > messages.c) do-build: - @(cd ${WRKSRC} && ${CC} ${CFLAGS} -o avinfo avinfo.c) + cd ${WRKSRC} && ${CC} ${CFLAGS} -o avinfo avinfo.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/avinfo ${PREFIX}/bin -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/../DOC/* ${DOCSDIR} -.endif .include <bsd.port.mk> diff --git a/multimedia/avinfo/distinfo b/multimedia/avinfo/distinfo index e7ac5dc0957a..95d0b40b6d45 100644 --- a/multimedia/avinfo/distinfo +++ b/multimedia/avinfo/distinfo @@ -1 +1 @@ -MD5 (avinfo-0.7.1.zip) = cbb41cfa4690a77d352f34b268436493 +MD5 (avinfo-0.7.3.src.zip) = 6655082b337bd36aeca144a9df2cb576 diff --git a/multimedia/avinfo/files/patch-cmdline.c b/multimedia/avinfo/files/patch-cmdline.c new file mode 100644 index 000000000000..d1e058496dc0 --- /dev/null +++ b/multimedia/avinfo/files/patch-cmdline.c @@ -0,0 +1,11 @@ +--- cmdline.c.orig Mon Jun 16 18:05:02 2003 ++++ cmdline.c Sat Jul 26 02:30:59 2003 +@@ -167,7 +167,7 @@ + break;
+ }
+ if(*pointer=='?'){
+- gets(buffer);
++ fgets(buffer,sizeof(buffer),stdin);
+ template[template_number++]=buffer;
+ buffer+=strlen(buffer);
+ pointer+=strlen(pointer)-1;
diff --git a/multimedia/avinfo/pkg-descr b/multimedia/avinfo/pkg-descr index fccdb97f0117..d23caab9369b 100644 --- a/multimedia/avinfo/pkg-descr +++ b/multimedia/avinfo/pkg-descr @@ -8,4 +8,4 @@ and type of streams, including detailed information for each. - sound params - Number of streams, its types (audio/video) -WWW: http://anime.org.ru/soft/avinfo/english.shtml +WWW: http://shounen.ru/soft/avinfo/english.shtml diff --git a/multimedia/avinfo/pkg-plist b/multimedia/avinfo/pkg-plist index 5f5dfb5a7425..025128dd8ecf 100644 --- a/multimedia/avinfo/pkg-plist +++ b/multimedia/avinfo/pkg-plist @@ -1,15 +1 @@ bin/avinfo -%%PORTDOCS%%%%DOCSDIR%%/faq -%%PORTDOCS%%%%DOCSDIR%%/index -%%PORTDOCS%%%%DOCSDIR%%/info_chunk -%%PORTDOCS%%%%DOCSDIR%%/install -%%PORTDOCS%%%%DOCSDIR%%/meta -%%PORTDOCS%%%%DOCSDIR%%/readme -%%PORTDOCS%%%%DOCSDIR%%/readme.ru -%%PORTDOCS%%%%DOCSDIR%%/reklama.ru -%%PORTDOCS%%%%DOCSDIR%%/reklama.txt -%%PORTDOCS%%%%DOCSDIR%%/tech_note -%%PORTDOCS%%%%DOCSDIR%%/todo -%%PORTDOCS%%%%DOCSDIR%%/whatsnew -%%PORTDOCS%%%%DOCSDIR%%/whatsnew.ru -%%PORTDOCS%%@dirrm %%DOCSDIR%% |