Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 2015 16:26:02 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r393172 - branches/2015Q3/comms/pyla
Message-ID:  <201507291626.t6TGQ2hV021771@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Jul 29 16:26:01 2015
New Revision: 393172
URL: https://svnweb.freebsd.org/changeset/ports/393172

Log:
  MFH: r393171
  
  - Fix shebangs
  - Fix script installation
  
  Approved by:	portmgr blanket
  Approved by:	ports-secteam (shebang fix blanket)

Modified:
  branches/2015Q3/comms/pyla/Makefile
Directory Properties:
  branches/2015Q3/   (props changed)

Modified: branches/2015Q3/comms/pyla/Makefile
==============================================================================
--- branches/2015Q3/comms/pyla/Makefile	Wed Jul 29 16:24:38 2015	(r393171)
+++ branches/2015Q3/comms/pyla/Makefile	Wed Jul 29 16:26:01 2015	(r393172)
@@ -3,6 +3,7 @@
 
 PORTNAME=	pyla
 PORTVERSION=	1.1.7.1
+PORTREVISION=	1
 CATEGORIES=	comms python
 #MASTER_SITES=	http://www.teamsw.it/pyla/download/
 MASTER_SITES=   LOCAL/mr
@@ -17,7 +18,13 @@ COMMENT=	Hylafax client written in Pytho
 WRKSRC=		${WRKDIR}/${PORTNAME}
 DATADIR=	${PREFIX}/lib/pyla
 
-USES=		python tar:tgz
+USES=		python shebangfix tar:tgz
+SHEBANG_FILES=	faxcover/subst hylaform.py \
+		hylaproto.py ldapclass.py \
+		pyladebug.py
+SHEBANG_LANG=	sed
+sed_OLD_CMD=	/bin/sed
+sed_CMD=	/usr/bin/sed
 PLIST=		${WRKDIR}/pkg-plist
 
 do-build:
@@ -38,7 +45,7 @@ pre-install:
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}
-	${INSTALL} -m755 ${WRKDIR}/pyla.sh ${STAGEDIR}${PREFIX}/bin/pyla
+	${INSTALL_SCRIPT} ${WRKDIR}/pyla.sh ${STAGEDIR}${PREFIX}/bin/pyla
 	${TAR} -C ${WRKSRC} --exclude CVS -cf - . | \
 		${TAR} -C ${STAGEDIR}${DATADIR} --unlink -xf -
 



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