aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ppmcaption/Makefile
blob: 1ca62c4d6bea8b1ab826397aa0bbd1437d49d3c0 (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
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:    ppmcaption
# Date created:         May 31, 2001
# Whom:             Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#

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

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

GNU_CONFIGURE=  yes
CONFIGURE_ENV+= CPP="${CPP}"
CONFIGURE_ARGS+=    --with-builtin="ncenB24.bdf -scale 0.5 -blur 5"
MAN1=       ppmcaption.1
PLIST_FILES=    bin/ppmcaption

.include <bsd.port.pre.mk>

.if ${ARCH} == "ia64"
BROKEN=     "Does not compile on ia64"
.endif

.if ${ARCH} == "amd64" && ${OSVERSION} < 700000
BROKEN=     Does not compile on amd64 5.x/6.x
.endif

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

.include <bsd.port.post.mk>