1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/editors/le/Makefile
2019-08-08 13:43:55 +00:00

39 lines
1.0 KiB
Makefile

# Created by: Andrey Zakhvatov
# $FreeBSD$
PORTNAME= le
PORTVERSION= 1.16.6
CATEGORIES= editors
MASTER_SITES= http://lav.yar.ru/download/${PORTNAME}/ \
ZI
MASTER_SITE_SUBDIR= . old
MAINTAINER= zi@FreeBSD.org
COMMENT= Text editor with block and binary operations
LICENSE= GPLv3
USES= ncurses perl5 tar:bzip2
USE_PERL5= build
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
MAKE_JOBS_UNSAFE= yes
derp-do-install:
@${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/src && ${INSTALL_PROGRAM} le ${STAGEDIR}${PREFIX}/bin)
(cd ${WRKSRC}/doc && ${INSTALL_MAN} le.1 ${STAGEDIR}${MAN1PREFIX}/man/man1)
.for file in ${STAGEDIR}${MISC_DATA}
(cd ${WRKSRC}/misc && ${INSTALL_DATA} ${file} ${STAGEDIR}${DATADIR})
.endfor
(cd ${WRKSRC}/misc && ${COPYTREE_SHARE} syntax.d ${STAGEDIR}${DATADIR})
.for file in ${SRC_DATA}
(cd ${WRKSRC}/src && ${INSTALL_DATA} ${file} ${STAGEDIR}${DATADIR})
.endfor
.for file in FEATURES HISTORY NEWS README TODO
cd ${WRKSRC} && ${INSTALL_DATA} ${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>