summaryrefslogtreecommitdiffstats
path: root/devel/libtecla/Makefile
blob: 6649428faab8dc3897fd3104c6ba11477dcdfacf (plain)
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
38
39
40
41
42
43
# ex:ts=8
# New ports collection makefile for:	libtecla
# Date created:		Feb 12, 2001
# Whom:			Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	libtecla
PORTVERSION=	1.6.0
CATEGORIES=	devel
MASTER_SITES=	http://www.astro.caltech.edu/~mcs/tecla/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Interactive command line editing facilities

USE_SUBMAKE=	yes
USE_AUTOTOOLS=	autoconf:253
WRKSRC=		${WRKDIR}/${PORTNAME}
ALL_TARGET=	default
SCRIPTS_ENV=	WRKDIRPREFIX="${WRKDIRPREFIX}" \
	REALCURDIR="${.CURDIR}" \
	PORTNAME="${PORTNAME}"
INSTALLS_SHLIB=	yes

.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
PLIST_SUB+=	THREADS="@comment "
.else
PLIST_SUB+=	THREADS=""
.endif

post-extract:
	@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/genmanlist.sh

post-clean:
	@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc

.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud