# $NetBSD: Makefile,v 1.24 2016/09/08 14:44:44 jperkin 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 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/bsd.pkg.mk"