1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- 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)
This commit is contained in:
Steve Wills 2013-11-14 16:23:54 +00:00
parent 441d89a971
commit 799241947d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333769
3 changed files with 14 additions and 12 deletions

View File

@ -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

View File

@ -4,4 +4,4 @@ PACKTER systems are composed of Packter Viewer and Packter Agent.
Packter Viewer draws a flying object by receiving Packter Protocol from
Packter Agent.
WWW: http://www.packter.net
WWW: http://www.packter.jp

View File

@ -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%%