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> |