Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2019 23:47:43 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r517540 - head/security/denyhosts
Message-ID:  <201911132347.xADNlhKI060246@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Nov 13 23:47:43 2019
New Revision: 517540
URL: https://svnweb.freebsd.org/changeset/ports/517540

Log:
  Simplify Makefile
  
  - Remove no-op shebang fix
  - Remove .bak/.orig cleanup which does not affect the package
  
  PR:		241806
  Submitted by:	amdmi3

Modified:
  head/security/denyhosts/Makefile

Modified: head/security/denyhosts/Makefile
==============================================================================
--- head/security/denyhosts/Makefile	Wed Nov 13 23:47:38 2019	(r517539)
+++ head/security/denyhosts/Makefile	Wed Nov 13 23:47:43 2019	(r517540)
@@ -20,7 +20,6 @@ USES=		cpe python shebangfix
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
-REINPLACE_ARGS=	-i ''
 USE_RC_SUBR=	denyhosts
 
 PLIST_FILES=	"@sample etc/denyhosts.conf.sample"
@@ -29,18 +28,14 @@ SUB_LIST=	PYTHON=${PYTHON_CMD}
 
 USE_GITHUB=	yes
 
-SHEBANG_LANG=	env
 SHEBANG_FILES=	daemon-control-dist \
 		plugins/test_deny.py \
 		scripts/restricted_from_invalid.py \
 		scripts/restricted_from_passwd.py
-env_OLD_CMD=	/bin/env
-env_CMD=	${SETENV}
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/daemon-control-dist ${WRKSRC}/denyhosts.conf ${WRKSRC}/setup.py
 	@${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' ${WRKSRC}/daemon-control-dist
-	@${FIND} ${WRKSRC} -type f -name '*.bak' -o -name '*.orig' -delete
 
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/denyhosts.conf ${STAGEDIR}${PREFIX}/etc/denyhosts.conf.sample



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