summaryrefslogtreecommitdiff
path: root/mail/flink/Makefile
blob: 6fb0815c1ca7e6cea21673ab80183684eca9e9b7 (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
36
37
# New ports collection makefile for:	flink
# Date created:				27 Aug 2002
# Whom:					Juan Salaverria <rael@vectorstar.net>
#
# $FreeBSD$
#

PORTNAME=	flink
PORTVERSION=	0.3.2
CATEGORIES=	mail gnome
MASTER_SITES=	http://flink.leyman.nu/

MAINTAINER=	rael@vectorstar.net
COMMENT=	The Flink mailchecker is a small panelapplet for the GNOME panel

GNU_CONFIGURE=	yes
USE_X_PREFIX=	yes
USE_GNOME=	gnomeprefix gnomehack libpanel
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LIBS="-L${LOCALBASE}/lib"

MAN1=	flink.1

DOCS=	AUTHORS COPYING INSTALL NEWS README ChangeLog

post-patch:
	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ;' ${WRKSRC}/configure

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for f in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>