1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Fix shebangs

- Add NO_ARCH
This commit is contained in:
Dmitry Marakasov 2017-04-21 10:50:59 +00:00
parent d9f9448a9a
commit 5225517cba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=439050

View File

@ -4,28 +4,30 @@
PORTNAME= ipcheck
PORTVERSION= 0.240
PORTEPOCH= 1
PORTREVISION= 1
CATEGORIES= dns python
MASTER_SITES= http://ipcheck.sourceforge.net/releases/
DISTNAME= ${PORTNAME}.${PORTVERSION:S/^0.//}
EXTRACT_SUFX=
EXTRACT_ONLY=
EXTRACT_SUFX= # empty
MAINTAINER= ports@FreeBSD.org
COMMENT= Fully compliant DynDNS.org client for UNIX (supports NIC v2.0)
LICENSE= GPLv2
USES= python
USES= python shebangfix
SHEBANG_FILES= ${DISTNAME}
NO_WRKSUBDIR= yes
NO_BUILD= yes
NO_ARCH= yes
PLIST_FILES= bin/ipcheck.py
do-patch:
do-extract:
@${SED} \
-e "s!/usr/bin/python!${LOCALBASE}/bin/python!" \
-e "s!ppp0!tun0!" \
${DISTDIR}/${DISTNAME} > ${WRKSRC}/${DISTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}.py