summaryrefslogtreecommitdiff
path: root/x11/twin/Makefile
blob: ed042a9f169b36453d761190f5533e15f8291770 (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
# Ports collection makefile for:	twin
# Date created:				Jul 7, 2002
# Whom:					ijliao
#
# $FreeBSD$
#

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

MAINTAINER=	samy@kerneled.com
COMMENT=	A text-mode window manager and terminal emulator

RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash2

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

MAN1=	twin.1

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

.include <bsd.port.mk>