Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Nov 2014 22:50:11 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r372619 - in head: games/linux-skulltag games/nonsense net/hinfo security/pecl-crack
Message-ID:  <201411152250.sAFMoBjH078418@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Nov 15 22:50:10 2014
New Revision: 372619
URL: https://svnweb.freebsd.org/changeset/ports/372619
QAT: https://qat.redports.org/buildarchive/r372619/

Log:
  Cleanup plist

Deleted:
  head/security/pecl-crack/pkg-plist
Modified:
  head/games/linux-skulltag/pkg-plist
  head/games/nonsense/Makefile
  head/games/nonsense/pkg-plist
  head/net/hinfo/Makefile
  head/net/hinfo/pkg-plist

Modified: head/games/linux-skulltag/pkg-plist
==============================================================================
--- head/games/linux-skulltag/pkg-plist	Sat Nov 15 22:07:42 2014	(r372618)
+++ head/games/linux-skulltag/pkg-plist	Sat Nov 15 22:50:10 2014	(r372619)
@@ -18,8 +18,3 @@ share/games/skulltag/skins/ST_Procyon.pk
 share/games/skulltag/skins/ST_Seenas.pk3
 share/games/skulltag/skins/ST_Strife_Guy.pk3
 share/games/skulltag/skins/ST_Synas.pk3
-@dirrm share/games/skulltag/announcer
-@dirrm share/games/skulltag/skins
-@dirrm share/games/skulltag
-@dirrmtry share/games/skulltag
-@dirrmtry share/games

Modified: head/games/nonsense/Makefile
==============================================================================
--- head/games/nonsense/Makefile	Sat Nov 15 22:07:42 2014	(r372618)
+++ head/games/nonsense/Makefile	Sat Nov 15 22:50:10 2014	(r372619)
@@ -3,13 +3,15 @@
 
 PORTNAME=	nonsense
 PORTVERSION=	0.6
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	games
 MASTER_SITES=	SF
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Nonsense text generator
 
+USES=		shebangfix
+SHEBANG_FILES=	nonsense
 NO_BUILD=	yes
 NO_ARCH=	yes
 

Modified: head/games/nonsense/pkg-plist
==============================================================================
--- head/games/nonsense/pkg-plist	Sat Nov 15 22:07:42 2014	(r372618)
+++ head/games/nonsense/pkg-plist	Sat Nov 15 22:50:10 2014	(r372619)
@@ -24,7 +24,3 @@ bin/nonsense
 %%DATADIR%%/template/slashdot.rdf.template
 %%DATADIR%%/template/techdirt.html.template
 man/man6/nonsense.6.gz
-@dirrm %%DATADIR%%
-@dirrm %%DATADIR%%/data
-@dirrm %%DATADIR%%/template
-@dirrm share/nonsense

Modified: head/net/hinfo/Makefile
==============================================================================
--- head/net/hinfo/Makefile	Sat Nov 15 22:07:42 2014	(r372618)
+++ head/net/hinfo/Makefile	Sat Nov 15 22:50:10 2014	(r372619)
@@ -3,7 +3,7 @@
 
 PORTNAME=	hinfo
 PORTVERSION=	1.0
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	net perl5
 # note: the "true" MASTER_SITE is http://www.blars.org, but
 # due to policies on that site, it is not reachable from the
@@ -16,30 +16,23 @@ COMMENT=	Utility primarily designed to f
 RUN_DEPENDS=	p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS \
 		wget:${PORTSDIR}/ftp/wget
 
-USES=		perl5
+USES=		perl5 shebangfix
 USE_PERL5=	run
+SHEBANG_FILES=	${HINFO_SCRIPTS}
 
 DATADIR?=	${PREFIX}/lib/${PORTNAME}
 
 HINFO_DBFILES=	dnsbl.ins.pl whois.ins.pl
+# By default, we don't install myhostinfo.cgi.  Install it if you wish; it'll
+# already be patched for you.
 HINFO_SCRIPTS=	hinfo hinfo-update myhostinfo.cgi
 
 NO_BUILD=	yes
 
-# By default, we don't install myhostinfo.cgi.  Install it if you wish; it'll
-# already be patched for you.
-post-extract:
-.for filename in ${HINFO_SCRIPTS}
-	${REINPLACE_CMD} -E '1s|^#!.+|#!${PERL}|' ${WRKSRC}/${filename}
-.endfor
-
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/hinfo ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_SCRIPT} ${WRKSRC}/hinfo-update ${STAGEDIR}${PREFIX}/sbin
-	${INSTALL_DATA} ${WRKSRC}/hinfo.conf ${STAGEDIR}${PREFIX}/etc/hinfo.conf.example
-.if !exists(${STAGEDIR}${PREFIX}/etc/hinfo.conf)
-	${INSTALL_DATA} ${WRKSRC}/hinfo.conf ${STAGEDIR}${PREFIX}/etc/hinfo.conf
-.endif
+	${INSTALL_DATA} ${WRKSRC}/hinfo.conf ${STAGEDIR}${PREFIX}/etc/hinfo.conf.sample
 	${INSTALL_MAN} ${WRKSRC}/hinfo.1 ${STAGEDIR}${PREFIX}/man/man1/
 	${INSTALL_MAN} ${WRKSRC}/hinfo.conf.5 ${STAGEDIR}${PREFIX}/man/man5/
 	@${MKDIR} ${STAGEDIR}${DATADIR}

Modified: head/net/hinfo/pkg-plist
==============================================================================
--- head/net/hinfo/pkg-plist	Sat Nov 15 22:07:42 2014	(r372618)
+++ head/net/hinfo/pkg-plist	Sat Nov 15 22:50:10 2014	(r372619)
@@ -1,10 +1,7 @@
-man/man1/hinfo.1.gz
-man/man5/hinfo.conf.5.gz
 bin/hinfo
-etc/hinfo.conf
-etc/hinfo.conf.example
-sbin/hinfo-update
+@sample etc/hinfo.conf.sample
 %%DATADIR%%/dnsbl.ins.pl
 %%DATADIR%%/whois.ins.pl
-@dirrm %%DATADIR%%
-@dirrmtry lib/hinfo
+man/man1/hinfo.1.gz
+man/man5/hinfo.conf.5.gz
+sbin/hinfo-update



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