diff options
-rw-r--r-- | graphics/pecomato/Makefile | 44 | ||||
-rw-r--r-- | graphics/pecomato/distinfo | 6 |
2 files changed, 17 insertions, 33 deletions
diff --git a/graphics/pecomato/Makefile b/graphics/pecomato/Makefile index ec5629d71141..ed396e7f57cf 100644 --- a/graphics/pecomato/Makefile +++ b/graphics/pecomato/Makefile @@ -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> diff --git a/graphics/pecomato/distinfo b/graphics/pecomato/distinfo index 0381bd5ee996..64b745c12edc 100644 --- a/graphics/pecomato/distinfo +++ b/graphics/pecomato/distinfo @@ -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 |