aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libtecla/Makefile
blob: eefdbbcef5ec6344abe0088dd043273eee845e20 (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
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.1
CATEGORIES= devel
MASTER_SITES=   http://www.astro.caltech.edu/~mcs/tecla/

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

WRKSRC=     ${WRKDIR}/${PORTNAME}
GNU_CONFIGURE=  yes
USE_SUBMAKE=    yes
ALL_TARGET= default
USE_LDCONFIG=   yes
SCRIPTS_ENV=    WRKDIRPREFIX="${WRKDIRPREFIX}" \
        REALCURDIR="${.CURDIR}" \
        PORTNAME="${PORTNAME}"
MAKE_JOBS_UNSAFE=   yes

.include <bsd.port.pre.mk>

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

post-patch:
    @${REINPLACE_CMD} -e 's,^OPT = -O,OPT =,' \
        ${WRKSRC}/Makefile.in

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>