Lines 25-32
Link Here
|
25 |
OPTIONS_DEFINE= DOCS EXAMPLES NLS |
25 |
OPTIONS_DEFINE= DOCS EXAMPLES NLS |
26 |
OPTIONS_SUB= yes |
26 |
OPTIONS_SUB= yes |
27 |
|
27 |
|
28 |
DOCS_USES= groff |
|
|
29 |
|
30 |
NLS_USES= gettext |
28 |
NLS_USES= gettext |
31 |
NLS_CONFIGURE_ENABLE= nls |
29 |
NLS_CONFIGURE_ENABLE= nls |
32 |
|
30 |
|
Lines 34-50
Link Here
|
34 |
|
32 |
|
35 |
PORTSCOUT= limitw:1,even |
33 |
PORTSCOUT= limitw:1,even |
36 |
|
34 |
|
37 |
post-configure: |
35 |
post-install-EXAMPLES-on: |
38 |
${REINPLACE_CMD} -e 's/update_revision//g' ${WRKSRC}/src/Makefile |
|
|
39 |
|
40 |
post-build: |
41 |
cd ${WRKSRC}/doc; ${REINPLACE_CMD} \ |
42 |
-e 's:SYSCONFDIR:${PREFIX}/etc:g' \ |
43 |
-e 's:EXAMPLESDIR:${EXAMPLESDIR}:g' \ |
44 |
nano.1 rnano.1 nanorc.5 ${WRKSRC}/doc/${INFO:=.info} |
45 |
|
46 |
post-install: |
47 |
${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
36 |
${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
48 |
${INSTALL_DATA} ${WRKSRC}/doc/sample.nanorc ${STAGEDIR}${EXAMPLESDIR} |
37 |
${INSTALL_DATA} ${WRKSRC}/doc/sample.nanorc ${STAGEDIR}${EXAMPLESDIR} |
|
|
38 |
|
39 |
post-install-DOCS-on: |
40 |
${INSTALL_DATA} ${WRKSRC}/doc/nano.1.html ${WRKSRC}/doc/rnano.1.html ${WRKSRC}/doc/nanorc.5.html ${STAGEDIR}${DOCSDIR} |
49 |
|
41 |
|
50 |
.include <bsd.port.mk> |
42 |
.include <bsd.port.mk> |