aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/stamp/Makefile
blob: e6aa68da211e2ab542d903d4cd3724328c995cd9 (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
# New ports collection makefile for:    stamp
# Date created: 11 August 1998
# Whom:     Bill Fumerola <billf@chc-chimes.com>
#
# $FreeBSD$
#

PORTNAME=   stamp
PORTVERSION=    2.0.8
PORTREVISION=   5
CATEGORIES= graphics
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= stamp

MAINTAINER= ports@FreeBSD.org
COMMENT=    Adds a graphical, configurable timestamp to a grayscale image

LIB_DEPENDS=    jpeg.9:${PORTSDIR}/graphics/jpeg

USE_GETOPT_LONG=yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="${LDFLAGS}" \
        LIBS="-L${LOCALBASE}/lib"
USE_GMAKE=  unfortunatly
.if !defined(WITHOUT_X11)
USE_GNOME=  gtk12
.endif

post-patch:
    @${REINPLACE_CMD} -e 's#/usr/local/share/stamp#${DATADIR}#' \
        ${WRKSRC}/configure

.include <bsd.port.mk>