blob: 9d97193d043bd8251bd94c4bacac25b296cf9fd2 (
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
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.27 2019/11/03 17:04:21 rillig Exp $
DISTNAME= fep
PKGNAME= fep-1.0
PKGREVISION= 3
CATEGORIES= misc
MASTER_SITES= ftp://ftp.sra.co.jp/pub/cmd/fep/
MAINTAINER= nobu@psrc.isac.co.jp
COMMENT= General purpose front end for command line editing
LICENSE= fep-license
RESTRICTED= Do not redistribute for a fee.
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
WRKSRC= ${WRKDIR}
MANCOMPRESSED= yes
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
CFLAGS+= -Wno-error=return-type
.endif
LDFLAGS.NetBSD+= -lcompat
pre-build:
cd ${WRKSRC} && \
for i in *.[ch]; do ${SED} "s,#endif lint,#endif /* lint */,g" $${i} > $${i}.new && \
${MV} -f $${i}.new $${i}; \
done
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|