1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/graphics/pecomato/Makefile
Marcus von Appen 523314f1dc - Fix ${PYTHON} -> ${PYTHON_CMD}
Reported by:	exp-run (PR 184591)
Approved by:	portmgr (blanket)
2013-12-15 15:46:16 +00:00

33 lines
789 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= pecomato
PORTVERSION= 0.0.15
CATEGORIES= graphics
MASTER_SITES= http://www.mollux.org/projects/pecomato/download/sources/ \
CRITICAL
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Command-line picture metadata processor
USES= gmake
USE_PYTHON_BUILD= yes
MAKEFILE= Makefile.unix
PLIST_FILES= bin/pecomato man/man1/pecomato.1.gz
post-build:
${PYTHON_CMD} ${WRKSRC}/devtools/txt2tags.py --no-rc -t man \
-i ${WRKSRC}/doc/manpage.t2t -o ${WRKSRC}/doc/${PORTNAME}.1
post-patch:
@${REINPLACE_CMD} -e '/^CC/d' ${WRKSRC}/${MAKEFILE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \
${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>