# ex:ts=8 # New ports collection makefile for: libtecla # Date created: Feb 12, 2001 # Whom: Ying-Chieh Liao # # $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}" .include .if ${OSVERSION} < 500000 PLIST_SUB+= THREADS="@comment " .else PLIST_SUB+= THREADS="" .endif 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