# New ports collection makefile for: le # Date created: 16 October 1997 # Whom: Andrey Zakhvatov # # $FreeBSD$ # PORTNAME= le PORTVERSION= 1.13.7 CATEGORIES= editors MASTER_SITES= ftp://ftp.yar.ru/pub/source/le/ MAINTAINER= ports@FreeBSD.org COMMENT= Text editor with block and binary operations USE_BZIP2= yes USE_GNOME= gnometarget GNU_CONFIGURE= yes CONFIGURE_ENV= LIBS="-lgnuregex" MAN1= le.1 PORTDOCS= FEATURES HISTORY NEWS README TODO PORTDATA= colors-black colors-blue colors-defbg colors-green \ colors-white keymap-emacs le.hlp mainmenu mainmenu-ru syntax PLIST_FILES+= bin/le .include GNU_REGEX_H= gnu/regex.h post-patch: @${REINPLACE_CMD} -e 's|@LIBOBJS@||g ; \ s|@ALLOCA@||g' ${WRKSRC}/lib/Makefile.in @${REINPLACE_CMD} -e 's||<${GNU_REGEX_H}>|g' \ ${WRKSRC}/src/highli.h .if defined(NOPORTDATA) @${REINPLACE_CMD} -e 's|misc||g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|le.hlp||g;468s|install-pkgdataDATA||' \ ${WRKSRC}/src/Makefile.in .endif post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for file in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor .endif .include