Bug 183779 - [maintainer update] net/packter-agent: Update MASTER_SITES, Fix build with clang, etc.
Summary: [maintainer update] net/packter-agent: Update MASTER_SITES, Fix build with cl...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-08 10:00 UTC by Masaki TAGAWA
Modified: 2013-11-14 16:30 UTC (History)
1 user (show)

See Also:


Attachments
packter-agent.patch (2.62 KB, patch)
2013-11-08 10:00 UTC, Masaki TAGAWA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki TAGAWA 2013-11-08 10:00:00 UTC
- 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

How-To-Repeat: - Checked on Redports.org [1]

[1] https://redports.org/buildarchive/20131108092400-12950/
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-08 10:00:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->swills

swills@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-11-14 16:24:03 UTC
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%%
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Steve Wills freebsd_committer freebsd_triage 2013-11-14 16:24:07 UTC
State Changed
From-To: open->closed

Committed. Thanks!