|
Lines 10-38
Link Here
|
| 10 |
MAINTAINER= jmohacsi@bsd.hu |
10 |
MAINTAINER= jmohacsi@bsd.hu |
| 11 |
COMMENT= Simple TCP session re-engineering tool |
11 |
COMMENT= Simple TCP session re-engineering tool |
| 12 |
|
12 |
|
|
|
13 |
LICENSE= GPLv2+ |
| 14 |
|
| 13 |
USES= tar:bzip2 |
15 |
USES= tar:bzip2 |
| 14 |
GNU_CONFIGURE= yes |
16 |
GNU_CONFIGURE= yes |
| 15 |
|
17 |
|
| 16 |
DOC_FILES= AUTHORS NEWS README THANKS TODO |
18 |
OPTIONS_SUB= yes |
| 17 |
|
19 |
|
|
|
20 |
PORTDOCS= AUTHORS NEWS README THANKS TODO |
| 21 |
|
| 18 |
OPTIONS_DEFINE= DOCS NLS |
22 |
OPTIONS_DEFINE= DOCS NLS |
| 19 |
|
23 |
|
| 20 |
.include <bsd.port.options.mk> |
24 |
NLS_USES= gettext |
|
|
25 |
NLS_CONFIGURE_OFF= --disable-nls |
| 21 |
|
26 |
|
| 22 |
.if ${PORT_OPTIONS:MNLS} |
27 |
post-install-DOCS-on: |
| 23 |
USES+= gettext |
|
|
| 24 |
PLIST_SUB+= NLS="" |
| 25 |
.else |
| 26 |
CONFIGURE_ARGS+=--disable-nls |
| 27 |
PLIST_SUB+= NLS="@comment " |
| 28 |
.endif |
| 29 |
|
| 30 |
post-install: |
| 31 |
.if ${PORT_OPTIONS:MDOCS} |
| 32 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
28 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
| 33 |
.for file in ${DOC_FILES} |
29 |
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} |
| 34 |
@${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} |
|
|
| 35 |
.endfor |
| 36 |
.endif |
| 37 |
|
30 |
|
| 38 |
.include <bsd.port.mk> |
31 |
.include <bsd.port.mk> |