36 lines
1 KiB
Makefile
36 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.18 2021/04/21 08:44:30 wiz Exp $
|
|
|
|
DISTNAME= lile-2.0
|
|
PKGNAME= ile-2.0
|
|
CATEGORIES= misc
|
|
MASTER_SITES= # ftp://ftp.inria.fr/system/user/
|
|
EXTRACT_SUFX= .tar.z
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Input Line Editor that wraps itself around programs
|
|
|
|
# uses struct sgttyb
|
|
NOT_FOR_PLATFORM= Linux-*-*
|
|
|
|
USE_TOOLS+= gzcat
|
|
|
|
# ile.c: In function 'delete_word':
|
|
# ile.c:729:32: error: array subscript has type 'char' [-Werror=char-subscripts]
|
|
# for (; (point > 0) && (delimit[line[point - 1]]); point--)
|
|
# ^
|
|
# Maybe fix this later.
|
|
BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
|
|
|
|
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
|
|
|
|
post-patch:
|
|
@(cd ${WRKSRC}; ${SED} "s,/usr/local,${PREFIX}," Makefile \
|
|
> Makefile.done; ${MV} Makefile.done Makefile; \
|
|
${ECHO} all: ile >> Makefile; \
|
|
${ECHO} CC=${CC} ${CFLAGS} >> Makefile )
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ile ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/ile.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|