diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2008-07-14 05:30:50 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2008-07-14 05:30:50 +0800 |
commit | 7ea3a0b5ab5a34a61ba9ae679734cff2b27a0eb9 (patch) | |
tree | bb78cb7484e0209fcaec8ddee1f775050c1c5cbc /multimedia/avinfo | |
parent | 757e3fd3afee09ed59a0d50b09f6a1fb3cdb468c (diff) | |
download | freebsd-ports-gnome-7ea3a0b5ab5a34a61ba9ae679734cff2b27a0eb9.tar.gz freebsd-ports-gnome-7ea3a0b5ab5a34a61ba9ae679734cff2b27a0eb9.tar.zst freebsd-ports-gnome-7ea3a0b5ab5a34a61ba9ae679734cff2b27a0eb9.zip |
- Update to 1.0.a15
Thanks to: "Marat N.Afanasyev" <amarat at ksu dot ru> (port draft and reminder)
Approved by: miwi (mentor)
Diffstat (limited to 'multimedia/avinfo')
-rw-r--r-- | multimedia/avinfo/Makefile | 29 | ||||
-rw-r--r-- | multimedia/avinfo/distinfo | 6 |
2 files changed, 22 insertions, 13 deletions
diff --git a/multimedia/avinfo/Makefile b/multimedia/avinfo/Makefile index 6bbbc1995299..8c232ba71bdf 100644 --- a/multimedia/avinfo/Makefile +++ b/multimedia/avinfo/Makefile @@ -7,28 +7,37 @@ # PORTNAME= avinfo -PORTVERSION= 0.7.4 +PORTVERSION= 1.0.a15 CATEGORIES= multimedia MASTER_SITES= http://shounen.ru/soft/avinfo/ \ http://www.amdmi3.ru/distfiles/ -DISTNAME= ${PORTNAME}-${PORTVERSION}-src +DISTNAME= ${PORTNAME}-${PORTVERSION}unix MAINTAINER= amdmi3@FreeBSD.org COMMENT= A utility for displaying AVI header information -WRKSRC= ${WRKDIR}/src +USE_GMAKE= yes +USE_BISON= build + +#WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PLIST_FILES= bin/avinfo -USE_ZIP= yes -post-patch: - @(cd ${WRKSRC} && ${CP} messages.c temp ; \ - ${CAT} temp | col -b > messages.c) +PORTDOCS= * -do-build: - cd ${WRKSRC} && ${CC} ${CFLAGS} -o avinfo avinfo.c +MAN1= avinfo.1 + +post-patch: + @${REINPLACE_CMD} -e '/^CC=/ d; /^CFLAGS=/ d; /^PREFIX=/ d' \ + ${WRKSRC}/config.mk do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/avinfo ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/src/avinfo ${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/src/avinfo.1 ${MANPREFIX}/man/man1/ +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${WRKSRC}/README \ + ${WRKSRC}/copying ${WRKSRC}/doc/* ${DOCSDIR}/ +.endif .include <bsd.port.mk> diff --git a/multimedia/avinfo/distinfo b/multimedia/avinfo/distinfo index 3209d5f129a2..d8f9144d4f3c 100644 --- a/multimedia/avinfo/distinfo +++ b/multimedia/avinfo/distinfo @@ -1,3 +1,3 @@ -MD5 (avinfo-0.7.4-src.zip) = cb94ffefbbfab40a37147218179c2f87 -SHA256 (avinfo-0.7.4-src.zip) = 985c3484c1eb844841c82afb95ac00440a252e49c48ce42c6422531360a0dbb0 -SIZE (avinfo-0.7.4-src.zip) = 75306 +MD5 (avinfo-1.0.a15unix.tar.gz) = 1d84de1346436b86b9f1d3e53059a03a +SHA256 (avinfo-1.0.a15unix.tar.gz) = 3e3404a76e6057c1703e0c49b63910a8ffcb5ea15ae7b2d0a7d2ede4b4c19887 +SIZE (avinfo-1.0.a15unix.tar.gz) = 105743 |