Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2013 16:23:54 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333769 - head/net/packter-agent
Message-ID:  <201311141623.rAEGNsmT093730@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Thu Nov 14 16:23:54 2013
New Revision: 333769
URL: http://svnweb.freebsd.org/changeset/ports/333769

Log:
  - Update MASTER_SITES, WWW: tag (Moved site to new domain)
  - Fix build with clang
  - Support StageDir
  - Normalize COMMENT
  - Make portlint happy
  - Add @dirrm to pkg-plist
  
  PR:		ports/183779
  Submitted by:	Masaki TAGAWA <masaki@club.kyutech.ac.jp> (maintainer)

Modified:
  head/net/packter-agent/Makefile
  head/net/packter-agent/pkg-descr   (contents, props changed)
  head/net/packter-agent/pkg-plist

Modified: head/net/packter-agent/Makefile
==============================================================================
--- head/net/packter-agent/Makefile	Thu Nov 14 16:13:38 2013	(r333768)
+++ head/net/packter-agent/Makefile	Thu Nov 14 16:23:54 2013	(r333769)
@@ -3,27 +3,27 @@
 
 PORTNAME=	packter-agent
 PORTVERSION=	2.5
+PORTREVISION=	1
 CATEGORIES=	net
-MASTER_SITES=	http://www.packter.net/
+MASTER_SITES=	http://www.packter.jp/
 DISTNAME=	PackterAgent-${PORTVERSION}
 
 MAINTAINER=	masaki@club.kyutech.ac.jp
-COMMENT=	An agent of the tool for graphical Internet traffic visualization
+COMMENT=	Agent of the tool for graphical Internet traffic visualization
 
 LICENSE=	BSD
-LICENSE_FILE=	${WRKSRC}/LICENSE
 
 GNU_CONFIGURE=	yes
 USES=		pkgconfig
 USE_GNOME=	glib20
+CFLAGS+=	-Wno-return-type
 
 PORTDOCS=	AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README
 
-OPTIONS_DEFINE=	IPV6 PACKTERTC
+OPTIONS_DEFINE=	IPV6 PACKTERTC DOCS
 PACKTERTC_DESC=	Install Packter TC
 OPTIONS_DEFAULT=	IPV6
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MIPV6}
@@ -43,20 +43,20 @@ PLIST_SUB+=	PACKTERTC="@comment "
 
 post-install:
 .if ${PORT_OPTIONS:MPACKTERTC}
-	@${MKDIR} ${DATADIR}
-	${CP} -pr ${WRKSRC}/packter_tc ${DATADIR}/
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${CP} -pr ${WRKSRC}/packter_tc ${STAGEDIR}${DATADIR}/
 .endif
 
 .for f in packter.conf
 	@if [ ! -f ${PREFIX}/etc/${f} ]; then \
-		${CP} -p ${PREFIX}/etc/${f}.sample ${PREFIX}/etc/${f} ; \
+		${CP} -p ${STAGEDIR}${PREFIX}/etc/${f}.sample ${STAGEDIR}/${PREFIX}/etc/${f} ; \
 	fi
 .endfor
 
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 

Modified: head/net/packter-agent/pkg-descr
==============================================================================
--- head/net/packter-agent/pkg-descr	Thu Nov 14 16:13:38 2013	(r333768)
+++ head/net/packter-agent/pkg-descr	Thu Nov 14 16:23:54 2013	(r333769)
@@ -4,4 +4,4 @@ PACKTER systems are composed of Packter 
 Packter Viewer draws a flying object by receiving Packter Protocol from 
 Packter Agent.
 
-WWW: http://www.packter.net
+WWW: http://www.packter.jp

Modified: head/net/packter-agent/pkg-plist
==============================================================================
--- head/net/packter-agent/pkg-plist	Thu Nov 14 16:13:38 2013	(r333768)
+++ head/net/packter-agent/pkg-plist	Thu Nov 14 16:23:54 2013	(r333769)
@@ -12,3 +12,5 @@ etc/packter.conf.sample
 %%PACKTERTC%%%%DATADIR%%/packter_tc/itm.conf
 %%PACKTERTC%%%%DATADIR%%/packter_tc/packter_tc.pl
 %%PACKTERTC%%%%DATADIR%%/packter_tc/xsd.pl
+%%PACKTERTC%%@dirrm %%DATADIR%%/packter_tc
+%%PACKTERTC%%@dirrm %%DATADIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311141623.rAEGNsmT093730>