aboutsummaryrefslogtreecommitdiff
path: root/graphics/ppmcaption/Makefile
blob: adfcf700b69ac417e4a0e516f5a31c7a5395e5a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Created by: Mark Pulford <mark@kyne.com.au>

PORTNAME=	ppmcaption
PORTVERSION=	1.1
CATEGORIES=	graphics
MASTER_SITES=	http://www.jwz.org/ppmcaption/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Utility which adds text to images

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPP="${CPP}"
CONFIGURE_ARGS=	--with-builtin="ncenB24.bdf -scale 0.5 -blur 5"
MAKE_ARGS=	install_prefix=${STAGEDIR}

PLIST_FILES=	bin/ppmcaption man/man1/ppmcaption.1.gz

ONLY_FOR_ARCHS=	i386
ONLY_FOR_ARCHS_REASON=	does not compile on amd64; untested everywhere else

post-patch:
	@${REINPLACE_CMD} -e "s,-lang-c89,," ${WRKSRC}/configure

.include <bsd.port.mk>