1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00
freebsd-ports/devel/libtecla/Makefile
Clement Laforet 04380ca07d - Fix plist
configure uses getpwuid_r() to detect if threads are supported or not.
  getpwuid_r is only in -CURRENT.

Approved by: 	marcus (portmgr)
2004-04-21 21:24:50 +00:00

45 lines
968 B
Makefile

# 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.4.1
PORTREVISION= 1
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_AUTOCONF_VER= 213
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}/genman3list.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>