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

(-)./Makefile (-15 / +8 lines)
Lines 1-7 Link Here
1
# Created by: Philippe Lefebvre <nemesis@balistik.net>
1
# Created by: Philippe Lefebvre <nemesis@balistik.net>
2
2
3
PORTNAME=	nano
3
PORTNAME=	nano
4
DISTVERSION=	6.0
4
DISTVERSION=	6.2
5
CATEGORIES=	editors
5
CATEGORIES=	editors
6
MASTER_SITES=	https://www.nano-editor.org/dist/v${DISTVERSION:R:R}/ GNU
6
MASTER_SITES=	https://www.nano-editor.org/dist/v${DISTVERSION:R:R}/ GNU
7
7
Lines 12-44 LICENSE= GPLv3 Link Here
12
LICENSE_FILE=	${WRKSRC}/COPYING
12
LICENSE_FILE=	${WRKSRC}/COPYING
13
13
14
USES=		charsetfix ncurses pkgconfig tar:xz
14
USES=		charsetfix ncurses pkgconfig tar:xz
15
16
GNU_CONFIGURE=	yes
15
GNU_CONFIGURE=	yes
17
18
CONFIGURE_ARGS=	--docdir=${DOCSDIR} --enable-utf8
16
CONFIGURE_ARGS=	--docdir=${DOCSDIR} --enable-utf8
19
20
MAKE_ARGS+=	install_htmlmanDATA=install-htmlmanDATA
17
MAKE_ARGS+=	install_htmlmanDATA=install-htmlmanDATA
21
18
PORTSCOUT=	limitw:1,even
19
INFO=		nano
22
OPTIONS_DEFINE=	DOCS EXAMPLES NLS
20
OPTIONS_DEFINE=	DOCS EXAMPLES NLS
23
OPTIONS_SUB=	yes
21
OPTIONS_SUB=	yes
24
25
NLS_USES=		gettext localbase
22
NLS_USES=		gettext localbase
26
NLS_CONFIGURE_ENABLE=	nls
23
NLS_CONFIGURE_ENABLE=	nls
27
24
28
INFO=		nano
29
30
PORTSCOUT=	limitw:1,even
31
32
post-patch:
25
post-patch:
33
	${REINPLACE_CMD} -e 's/^groff.*/false/' ${WRKSRC}/configure
26
	@${REINPLACE_CMD} -e 's/^groff.*/false/' ${WRKSRC}/configure
34
27
35
post-install-EXAMPLES-on:
36
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
37
	${INSTALL_DATA} ${WRKSRC}/doc/sample.nanorc ${STAGEDIR}${EXAMPLESDIR}
38
39
post-install-DOCS-on:
28
post-install-DOCS-on:
40
.for doc in nano.1.html rnano.1.html nanorc.5.html
29
.for doc in nano.1.html rnano.1.html nanorc.5.html
41
	${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${STAGEDIR}${DOCSDIR}
30
	${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${STAGEDIR}${DOCSDIR}
42
.endfor
31
.endfor
32
33
post-install-EXAMPLES-on:
34
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
35
	${INSTALL_DATA} ${WRKSRC}/doc/sample.nanorc ${STAGEDIR}${EXAMPLESDIR}
43
36
44
.include <bsd.port.mk>
37
.include <bsd.port.mk>
(-)./distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1642365719
1
TIMESTAMP = 1646688395
2
SHA256 (nano-6.0.tar.xz) = 93ac8cb68b4ad10e0aaeb80a2dd15c5bb89eb665a4844f7ad01c67efcb169ea2
2
SHA256 (nano-6.2.tar.xz) = 2bca1804bead6aaf4ad791f756e4749bb55ed860eec105a97fba864bc6a77cb3
3
SIZE (nano-6.0.tar.xz) = 1509388
3
SIZE (nano-6.2.tar.xz) = 1531800

Return to bug 262087