Index: head/net-mgmt/pmacct/Makefile =================================================================== --- head/net-mgmt/pmacct/Makefile (revision 107054) +++ head/net-mgmt/pmacct/Makefile (revision 107055) @@ -1,51 +1,54 @@ # New ports collection makefile for: pmacct # Date created: Thu May 8 16:03:11 CEST 2003 # Whom: Kirill Ponomarew # # $FreeBSD$ # PORTNAME= pmacct PORTVERSION= 0.6.2 +PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= http://www.ba.cnr.it/~paolo/pmacct/ MAINTAINER= krion@FreeBSD.org COMMENT= Network tool to gather IP traffic information .if defined(WITH_MYSQL) USE_MYSQL= yes CONFIGURE_ARGS+=--enable-mysql PLIST_SUB+= WITH_MYSQL="" .else CONFIGURE_ARGS+= --disable-mysql PLIST_SUB+= WITH_MYSQL="@comment " .endif .if defined(WITH_PGSQL) LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7 CONFIGURE_ARGS+=--enable-pgsql PLIST_SUB+= WITH_PGSQL="" .else CONFIGURE_ARGS+= --disable-pgsql PLIST_SUB+= WITH_PGSQL="@comment " .endif GNU_CONFIGURE= yes USE_GETOPT_LONG=yes USE_REINPLACE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" post-patch: @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/configure post-install: + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} .for i in README EXAMPLES INTERNALS PLUGINS ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} .endfor .endif .include Property changes on: head/net-mgmt/pmacct/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.17 \ No newline at end of property +1.18 \ No newline at end of property Index: head/net-mgmt/pmacct/pkg-plist =================================================================== --- head/net-mgmt/pmacct/pkg-plist (revision 107054) +++ head/net-mgmt/pmacct/pkg-plist (revision 107055) @@ -1,9 +1,16 @@ bin/pmacct %%WITH_MYSQL%%bin/pmmyplay %%WITH_PGSQL%%bin/pmpgplay sbin/pmacctd %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/EXAMPLES %%PORTDOCS%%%%DOCSDIR%%/INTERNALS %%PORTDOCS%%%%DOCSDIR%%/PLUGINS +%%EXAMPLESDIR%%/mrtg.conf.hosts.example +%%EXAMPLESDIR%%/mrtg.conf.ports.example +%%EXAMPLESDIR%%/networks.example +%%EXAMPLESDIR%%/pmacctd-imt.conf.example +%%EXAMPLESDIR%%/pmacctd-names.conf.example +%%EXAMPLESDIR%%/pmacctd-sql.conf.example +@dirrm %%EXAMPLESDIR%% %%PORTDOCS%%@dirrm %%DOCSDIR%% Property changes on: head/net-mgmt/pmacct/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.4 \ No newline at end of property +1.5 \ No newline at end of property