1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

- Update to 1.0.a15

Thanks to:	"Marat N.Afanasyev" <amarat at ksu dot ru> (port draft and reminder)
Approved by:	miwi (mentor)
This commit is contained in:
Dmitry Marakasov 2008-07-13 21:30:50 +00:00
parent 3f0445824b
commit 4d7af8aa05
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216791
2 changed files with 22 additions and 13 deletions

View File

@ -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
PORTDOCS= *
MAN1= avinfo.1
post-patch:
@(cd ${WRKSRC} && ${CP} messages.c temp ; \
${CAT} temp | col -b > messages.c)
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -o avinfo avinfo.c
@${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>

View File

@ -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