36 lines
836 B
Makefile
36 lines
836 B
Makefile
# $NetBSD: Makefile,v 1.26 2017/07/14 12:56:41 joerg 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"
|