1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/devel/libtecla/Makefile
Kurt Jaeger ede84250b9 devel/libtecla: 1.6.2 -> 1.6.3
- This release corrects some problems in the build process,
  including one that was preventing libtecla from being compiled
  on Mac OS X.

PR:		208485
Submitted by:	pfg
Approved by:	k@stereochro.me (maintainer timeout)
2016-05-06 12:02:20 +00:00

52 lines
1.4 KiB
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= libtecla
PORTVERSION= 1.6.3
CATEGORIES= devel
MASTER_SITES= http://www.astro.caltech.edu/~mcs/tecla/
MAINTAINER= k@stereochro.me
COMMENT= Interactive command line editing facilities
LICENSE= MIT
WRKSRC= ${WRKDIR}/${PORTNAME}
GNU_CONFIGURE= yes
USE_SUBMAKE= yes
ALL_TARGET= default
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
SSP_UNSAFE= yes
post-patch:
@${REINPLACE_CMD} -e 's,^OPT = -O,OPT =,' \
${WRKSRC}/Makefile.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/enhance ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/libtecla.h ${STAGEDIR}${PREFIX}/include
.for l in libtecla libtecla_r
${INSTALL_LIB} ${WRKSRC}/${l}.so.1 ${STAGEDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/${l}.a ${STAGEDIR}${PREFIX}/lib
(cd ${STAGEDIR}${PREFIX}/lib; ${LN} -sf ${l}.so.1 ${l}.so)
.endfor
for n in ${WRKSRC}/man/prog/*.in; do \
d=$${n##*/}; \
${INSTALL_MAN} $${n%.in} ${STAGEDIR}${PREFIX}/man/man1/$${d%.in}.1; \
done
for n in ${WRKSRC}/man/libr/*.in ${WRKSRC}/man/func/*.in; do \
d=$${n##*/}; \
${INSTALL_MAN} $${n%.in} ${STAGEDIR}${PREFIX}/man/man3/$${d%.in}.3; \
done
for n in ${WRKSRC}/man/file/*.in; do \
d=$${n##*/}; \
${INSTALL_MAN} $${n%.in} ${STAGEDIR}${PREFIX}/man/man5/$${d%.in}.5; \
done
for n in ${WRKSRC}/man/misc/*.in; do \
d=$${n##*/}; \
${INSTALL_MAN} $${n%.in} ${STAGEDIR}${PREFIX}/man/man7/$${d%.in}.7; \
done
.include <bsd.port.mk>