blob: c9a9aa54d2837030842c8e1a15b46b18760c00c6 (
plain)
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
|
# $NetBSD: Makefile,v 1.15 2010/02/11 19:37:03 joerg 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
PKG_DESTDIR_SUPPORT= user-destdir
# uses struct sgttyb
NOT_FOR_PLATFORM= Linux-*-*
USE_TOOLS+= gzcat
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"
|