Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 2015 16:24:39 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r393171 - head/comms/pyla
Message-ID:  <201507291624.t6TGOdho021537@repo.freebsd.org>

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

Log:
  - Fix shebangs
  - Fix script installation
  
  Approved by:	portmgr blanket
  MFH:		2015Q3 (blanket)

Modified:
  head/comms/pyla/Makefile

Modified: head/comms/pyla/Makefile
==============================================================================
--- head/comms/pyla/Makefile	Wed Jul 29 16:22:58 2015	(r393170)
+++ head/comms/pyla/Makefile	Wed Jul 29 16:24:38 2015	(r393171)
@@ -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?201507291624.t6TGOdho021537>