aboutsummaryrefslogtreecommitdiff
path: root/x11/twin/Makefile
blob: 1192adb558b100fe1b968eed0bf77ed046eaa265 (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
# ex:ts=8
# Ports collection makefile for:	twin
# Date created:			Jul 7, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	twin
PORTVERSION=	0.4.5
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
		http://linuz.sns.it/~max/twin/
MASTER_SITE_SUBDIR=	twin

MAINTAINER=	ports@FreeBSD.org

USE_REINPLACE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	LDFLAGS="${PTHREAD_LIBS}"
USE_GMAKE=	yes
INSTALLS_SHLIB=	yes
PLIST_SUB=	PORTVERSION="${PORTVERSION}"

MAN1=	twin.1

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

.include <bsd.port.mk>