mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Simplify Makefile
- Remove no-op shebang fix - Remove .bak/.orig cleanup which does not affect the package PR: 241806 Submitted by: amdmi3
This commit is contained in:
parent
8f51ae2e9f
commit
2a767ba548
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=517540
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user