aboutsummaryrefslogtreecommitdiffstats
path: root/news/slrnface/Makefile
blob: 224fd61f8da41cef76b2dbd41e869082d3c130e4 (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
# New ports collection makefile for:   slrnface
# Date created:        10 April 2002
# Whom:                Oliver Braun <obraun@informatik.unibw-muenchen.de>
#
# $FreeBSD$
#

PORTNAME=   slrnface
PORTVERSION=    1.2
CATEGORIES= news
MASTER_SITES=   http://fly.cc.fer.hr/~dave/slrnface/

MAINTAINER= obraun@FreeBSD.org

LIB_DEPENDS=    compface:${PORTSDIR}/mail/faces

ALL_TARGET= slrnface

USE_XLIB=   yes
USE_GMAKE=  yes

post-patch:
    @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/slrnface ${PREFIX}/bin
    ${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_SCRIPT} ${WRKSRC}/slrnface.sl ${EXAMPLESDIR}
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>