1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

- Update to 2.6 [1]

- Add WITHOUT_NLS knob [1]
- Fix libintl detection if ${LOCALBASE} != /usr/local [2]
- Use DOCSDIR in pkg-plist

PR:		59034 [1]
Submitted by:	maintainer [1], sergei [2]
This commit is contained in:
Sergei Kolobov 2003-11-07 17:23:40 +00:00
parent 950bd70292
commit 93287478d7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93313
6 changed files with 82 additions and 62 deletions

View File

@ -6,28 +6,33 @@
#
PORTNAME= darkstat
PORTVERSION= 2.5
PORTREVISION= 1
PORTVERSION= 2.6
CATEGORIES= net
MASTER_SITES= http://members.optushome.com.au/emikulic/net/darkstat/ \
http://yallara.cs.rmit.edu.au/~emikulic/_/
MAINTAINER= emikulic@optushome.com.au
COMMENT= Network statistics gatherer, similar to but smaller than ntop
LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext
COMMENT= Network statistics gatherer, similar to ntop
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS= --disable-nls
PLIST_SUB= NLS="@comment "
.else
LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE}
PLIST_SUB= NLS=""
.endif
MAN1= darkstat.1
DOCS= AUTHORS ChangeLog INSTALL ISSUES README TODO
DOCS= AUTHORS ChangeLog INSTALL ISSUES README
post-install:
.if !defined(NOPORTDOCS)
@${INSTALL} -d -m 0755 ${DOCSDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (darkstat-2.5.tar.gz) = 4e1b67a55b6aa2c1242f40ee61df7a40
MD5 (darkstat-2.6.tar.gz) = 0a1a407acb6f9b35a46d64885c30d08d

View File

@ -1,21 +1,26 @@
@comment $FreeBSD$
sbin/darkstat
share/locale/da/LC_MESSAGES/darkstat.mo
share/locale/es/LC_MESSAGES/darkstat.mo
share/locale/fr/LC_MESSAGES/darkstat.mo
share/locale/nl/LC_MESSAGES/darkstat.mo
share/locale/pt_BR/LC_MESSAGES/darkstat.mo
share/locale/sv/LC_MESSAGES/darkstat.mo
share/locale/zh_TW/LC_MESSAGES/darkstat.mo
share/locale/zh_CN/LC_MESSAGES/darkstat.mo
share/locale/lt/LC_MESSAGES/darkstat.mo
share/locale/hu/LC_MESSAGES/darkstat.mo
share/locale/ms/LC_MESSAGES/darkstat.mo
share/locale/hr/LC_MESSAGES/darkstat.mo
%%PORTDOCS%%share/doc/darkstat/AUTHORS
%%PORTDOCS%%share/doc/darkstat/ChangeLog
%%PORTDOCS%%share/doc/darkstat/INSTALL
%%PORTDOCS%%share/doc/darkstat/ISSUES
%%PORTDOCS%%share/doc/darkstat/README
%%PORTDOCS%%share/doc/darkstat/TODO
%%PORTDOCS%%@dirrm share/doc/darkstat
%%NLS%%share/locale/bg/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/da/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/es/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/fr/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/ga/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/hr/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/hu/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/id/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/lt/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/ms/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/nl/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/ro/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/sk/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/sr/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/sv/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/darkstat.mo
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/ISSUES
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%

View File

@ -6,28 +6,33 @@
#
PORTNAME= darkstat
PORTVERSION= 2.5
PORTREVISION= 1
PORTVERSION= 2.6
CATEGORIES= net
MASTER_SITES= http://members.optushome.com.au/emikulic/net/darkstat/ \
http://yallara.cs.rmit.edu.au/~emikulic/_/
MAINTAINER= emikulic@optushome.com.au
COMMENT= Network statistics gatherer, similar to but smaller than ntop
LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext
COMMENT= Network statistics gatherer, similar to ntop
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS= --disable-nls
PLIST_SUB= NLS="@comment "
.else
LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE}
PLIST_SUB= NLS=""
.endif
MAN1= darkstat.1
DOCS= AUTHORS ChangeLog INSTALL ISSUES README TODO
DOCS= AUTHORS ChangeLog INSTALL ISSUES README
post-install:
.if !defined(NOPORTDOCS)
@${INSTALL} -d -m 0755 ${DOCSDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (darkstat-2.5.tar.gz) = 4e1b67a55b6aa2c1242f40ee61df7a40
MD5 (darkstat-2.6.tar.gz) = 0a1a407acb6f9b35a46d64885c30d08d

View File

@ -1,21 +1,26 @@
@comment $FreeBSD$
sbin/darkstat
share/locale/da/LC_MESSAGES/darkstat.mo
share/locale/es/LC_MESSAGES/darkstat.mo
share/locale/fr/LC_MESSAGES/darkstat.mo
share/locale/nl/LC_MESSAGES/darkstat.mo
share/locale/pt_BR/LC_MESSAGES/darkstat.mo
share/locale/sv/LC_MESSAGES/darkstat.mo
share/locale/zh_TW/LC_MESSAGES/darkstat.mo
share/locale/zh_CN/LC_MESSAGES/darkstat.mo
share/locale/lt/LC_MESSAGES/darkstat.mo
share/locale/hu/LC_MESSAGES/darkstat.mo
share/locale/ms/LC_MESSAGES/darkstat.mo
share/locale/hr/LC_MESSAGES/darkstat.mo
%%PORTDOCS%%share/doc/darkstat/AUTHORS
%%PORTDOCS%%share/doc/darkstat/ChangeLog
%%PORTDOCS%%share/doc/darkstat/INSTALL
%%PORTDOCS%%share/doc/darkstat/ISSUES
%%PORTDOCS%%share/doc/darkstat/README
%%PORTDOCS%%share/doc/darkstat/TODO
%%PORTDOCS%%@dirrm share/doc/darkstat
%%NLS%%share/locale/bg/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/da/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/es/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/fr/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/ga/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/hr/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/hu/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/id/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/lt/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/ms/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/nl/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/ro/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/sk/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/sr/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/sv/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/darkstat.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/darkstat.mo
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/ISSUES
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%