View | Details | Raw Unified | Return to bug 126595
Collapse All | Expand All

(-)editors/le/Makefile (-14 / +27 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	le
8
PORTNAME=	le
9
PORTVERSION=	1.13.7
9
PORTVERSION=	1.13.8
10
CATEGORIES=	editors
10
CATEGORIES=	editors
11
MASTER_SITES=	ftp://ftp.yar.ru/pub/source/le/
11
MASTER_SITES=	ftp://ftp.yar.ru/pub/source/le/
12
12
Lines 20-50 Link Here
20
20
21
MAN1=		le.1
21
MAN1=		le.1
22
PORTDOCS=	FEATURES HISTORY NEWS README TODO
22
PORTDOCS=	FEATURES HISTORY NEWS README TODO
23
PORTDATA=	colors-black colors-blue colors-defbg colors-green \
23
PORTDATA=	${MISC_DATA} ${SRC_DATA}
24
		colors-white keymap-emacs le.hlp mainmenu mainmenu-ru syntax
24
PLIST_FILES=	bin/le
25
PLIST_FILES+=	bin/le
25
26
MISC_DATA=	colors-black colors-blue colors-defbg colors-green \
27
		colors-white keymap-emacs mainmenu mainmenu-ru syntax
28
SRC_DATA=	le.hlp
26
29
27
.include <bsd.port.pre.mk>
30
.include <bsd.port.pre.mk>
28
31
32
.if ${OSVERSION} > 502010
29
GNU_REGEX_H=	gnu/regex.h
33
GNU_REGEX_H=	gnu/regex.h
34
.else
35
GNU_REGEX_H=	gnuregex.h
36
.endif
30
37
31
post-patch:
38
post-patch:
32
	@${REINPLACE_CMD} -e 's|@LIBOBJS@||g ; \
39
	@${REINPLACE_CMD} -e 's|@LIBOBJS@||g ; \
33
		 s|@ALLOCA@||g' ${WRKSRC}/lib/Makefile.in
40
		 s|@ALLOCA@||g' ${WRKSRC}/lib/Makefile.in
34
	@${REINPLACE_CMD} -e 's|<regex.h>|<${GNU_REGEX_H}>|g' \
41
.for file in configure src/search.cc src/highli.h
35
		${WRKSRC}/src/highli.h
42
	@${REINPLACE_CMD} -e 's|<regex.h>|<${GNU_REGEX_H}>|g' ${WRKSRC}/${file}
36
.if defined(NOPORTDATA)
43
.endfor
37
	@${REINPLACE_CMD} -e 's|misc||g' \
38
	    ${WRKSRC}/Makefile.in
39
	@${REINPLACE_CMD} -e 's|le.hlp||g;468s|install-pkgdataDATA||' \
40
	    ${WRKSRC}/src/Makefile.in
41
.endif
42
44
43
post-install:
45
do-install:
46
	cd ${WRKSRC}/src && ${INSTALL_PROGRAM} le ${PREFIX}/bin
47
	cd ${WRKSRC}/doc && ${INSTALL_MAN} le.1 ${MANPREFIX}/man/man1
48
.if !defined(NOPORTDATA)
49
	@${MKDIR} ${DATADIR}
50
.for file in ${MISC_DATA}
51
	cd ${WRKSRC}/misc && ${INSTALL_DATA} ${file} ${DATADIR}
52
.endfor
53
.for file in ${SRC_DATA}
54
	cd ${WRKSRC}/src && ${INSTALL_DATA} ${file} ${DATADIR}
55
.endfor
56
.endif
44
.if !defined(NOPORTDOCS)
57
.if !defined(NOPORTDOCS)
45
	@${MKDIR} ${DOCSDIR}
58
	@${MKDIR} ${DOCSDIR}
46
.for file in ${PORTDOCS}
59
.for file in ${PORTDOCS}
47
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
60
	cd ${WRKSRC} && ${INSTALL_DATA} ${file} ${DOCSDIR}
48
.endfor
61
.endfor
49
.endif
62
.endif
50
63
(-)editors/le/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (le-1.13.7.tar.bz2) = f87cbb3e4c414de48bcba813dde65178
1
MD5 (le-1.13.8.tar.bz2) = b4bec66624d72c36d018727f1e8ade40
2
SHA256 (le-1.13.7.tar.bz2) = 360e6a67625f2c2a6a68f828d90749696a77b640adbe7b71b14a9aa4641cb7ab
2
SHA256 (le-1.13.8.tar.bz2) = 47bfbbaa45d9e03739c4b8757754353f787495d67014d85bc6f4ee43089c9377
3
SIZE (le-1.13.7.tar.bz2) = 375364
3
SIZE (le-1.13.8.tar.bz2) = 375772

Return to bug 126595