Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jan 2015 13:09:55 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r376046 - head/news/pgpmoose
Message-ID:  <201501021309.t02D9taw001640@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Fri Jan  2 13:09:54 2015
New Revision: 376046
URL: https://svnweb.freebsd.org/changeset/ports/376046
QAT: https://qat.redports.org/buildarchive/r376046/

Log:
  - add shebangfix

Modified:
  head/news/pgpmoose/Makefile

Modified: head/news/pgpmoose/Makefile
==============================================================================
--- head/news/pgpmoose/Makefile	Fri Jan  2 13:00:52 2015	(r376045)
+++ head/news/pgpmoose/Makefile	Fri Jan  2 13:09:54 2015	(r376046)
@@ -15,13 +15,17 @@ MAINTAINER=	dinoex@FreeBSD.org
 COMMENT=	PGP Moose - signatures for moderated newsgroups
 
 NO_WRKSUBDIR=	yes
+USES=		shebangfix
+SHEBANG_FILES=	pmcancel pmdaemon
 BIN1=		pmapp pmcanon pmcheck pmnewsgroups \
 		pmdaemon pmcancel
-MAN1=		pmapp.1 pmcanon.1 pmcheck.1 pmnewsgroups.1 \
+LMAN1=		pmapp.1 pmcanon.1 pmcheck.1 pmnewsgroups.1 \
 		pmdaemon.1 pmcancel.1
 
 NEWSCTL?=	${PREFIX}/news/lib
 
+_SHEBANG_REINPLACE_ARGS+=	-e "1s|^\#![[:space:]]*/bin/perl|\#!${perl_CMD}|"
+
 post-patch:
 	${REINPLACE_CMD} -e "s=/usr/local/news=${NEWSCTL}=" \
 		${WRKSRC}/pmapp
@@ -30,7 +34,7 @@ do-install:
 .for i in ${BIN1}
 	${INSTALL_SCRIPT} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin/
 .endfor
-.for i in ${MAN1}
+.for i in ${LMAN1}
 	${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/man/man1/
 .endfor
 



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