summaryrefslogtreecommitdiffstats
path: root/graphics/pecomato/Makefile
blob: ed396e7f57cfcd73774c352c2c48f5a0fd627ed4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:	pecomato
# Date created:				16 Sep 2005
# Whom:					Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#

PORTNAME=	pecomato
PORTVERSION=	0.0.13
CATEGORIES=	graphics
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_BUILD=	yes

MAKEFILE=	Makefile.unix
MAKE_ENV=	CC="${CC}"

MAN1=		pecomato.1
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 '/^CC/d' ${WRKSRC}/${MAKEFILE}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MANPREFIX}/man/man1

.include <bsd.port.mk>
OpenPOWER on IntegriCloud