mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Update to 0.0.13
This commit is contained in:
parent
3183dd4a35
commit
7412bba655
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=163896
@ -6,49 +6,33 @@
|
||||
#
|
||||
|
||||
PORTNAME= pecomato
|
||||
PORTVERSION= 0.0.12
|
||||
PORTVERSION= 0.0.13
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://critical.ch/distfiles/
|
||||
MASTER_SITES= http://www.mollux.org/projects/pecomato/download/sources/ \
|
||||
http://critical.ch/distfiles/ \
|
||||
http://energy.critical.ch/distfiles/
|
||||
|
||||
MAINTAINER= ehaupt@FreeBSD.org
|
||||
COMMENT= A command-line picture metadata processor
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_PYTHON= yes
|
||||
USE_GMAKE= yes
|
||||
USE_PYTHON_BUILD= yes
|
||||
|
||||
MAKEFILE= Makefile.unix
|
||||
MAKE_ENV= CC="${CC}" CFLAGS="${CFLAGS}"
|
||||
MAKE_ENV= CC="${CC}"
|
||||
|
||||
PLIST_FILES= bin/pecomato
|
||||
MAN1= pecomato.1
|
||||
PORTDOCS= *
|
||||
PLIST_FILES= bin/pecomato
|
||||
|
||||
post-build:
|
||||
${PYTHON} ${WRKSRC}/devtools/txt2tags.py --no-rc -t man \
|
||||
-i ${WRKSRC}/doc/manpage.t2t -o ${WRKSRC}/doc/${MAN1}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|^\(CC.*\)=|\1?=|; s|^\(all:.*\)|\1 docs|' \
|
||||
${WRKSRC}/Makefile.unix
|
||||
@${REINPLACE_CMD} -e 's|^\(PYTHON\).*|\1 = ${PYTHON_CMD}|' \
|
||||
${WRKSRC}/Makefile.posix.inc
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${REINPLACE_CMD} \
|
||||
-E 's/^(HTML_DOCS|TXT_DOCS).*=.*(README\.(html|txt)\ TODO\.(html|txt)).*/\1=\2/' \
|
||||
${WRKSRC}/doc/Makefile.posix
|
||||
.else
|
||||
@${REINPLACE_CMD} -E '/^(HTML_DOCS|TXT_DOCS)/d' \
|
||||
${WRKSRC}/doc/Makefile.posix
|
||||
.endif
|
||||
@${REINPLACE_CMD} -e '/^CC/d' ${WRKSRC}/${MAKEFILE}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/.man/manpage.man \
|
||||
${MANPREFIX}/man/man1/${PORTNAME}.1
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}/html ${DOCSDIR}/txt
|
||||
.for f in README TODO
|
||||
.for t in txt html
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/.${t}/${f}.${t} ${DOCSDIR}/${t}
|
||||
.endfor
|
||||
.endfor
|
||||
.endif
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MANPREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (pecomato-0.0.12.tar.gz) = e610397b942dfda56bfdf3720bfd6cac
|
||||
SHA256 (pecomato-0.0.12.tar.gz) = 53fdff45cc7fec7d5880652ea1651f5d2452c358d0a82c734dd3917bf215982c
|
||||
SIZE (pecomato-0.0.12.tar.gz) = 139030
|
||||
MD5 (pecomato-0.0.13.tar.gz) = 7bf8e1b73c7d048b45522afe2cbc1caa
|
||||
SHA256 (pecomato-0.0.13.tar.gz) = dded0b44a05988404b5d3e95eb9fddc12c01c266167d13b1444a6d3980759d1b
|
||||
SIZE (pecomato-0.0.13.tar.gz) = 162222
|
||||
|
Loading…
Reference in New Issue
Block a user