mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
parent
1854654973
commit
6b8f5cd720
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=501998
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= openbor
|
||||
# Hint: svn revision is git rev-list --count ${GH_TAGNAME}
|
||||
PORTVERSION?= 7000
|
||||
PORTVERSION?= 7022
|
||||
.ifndef PKGNAMESUFFIX
|
||||
PORTREVISION= 0
|
||||
.endif
|
||||
@ -31,7 +31,7 @@ PORTSCOUT= ignore:1
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= DCurrent
|
||||
GH_TAGNAME?= dc6a1516
|
||||
GH_TAGNAME?= c5cfb660
|
||||
|
||||
USES+= gmake pkgconfig
|
||||
.if ${PORTVERSION} < 4433
|
||||
@ -92,11 +92,11 @@ post-patch:
|
||||
@${GREP} -Flr 'malloc.h' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
|
||||
's,malloc\.h,stdlib.h,'
|
||||
@${REINPLACE_CMD} -e 's/^function \(.*\) {/\1() {/' \
|
||||
-e 's/^get_revnum$$/VERSION_BUILD=${PORTVERSION}/' \
|
||||
${WRKSRC}/version.sh
|
||||
|
||||
do-configure:
|
||||
(cd ${WRKSRC} && ${SH} ./version.sh)
|
||||
(cd ${WRKSRC} && VERSION_BUILD=${PORTVERSION} VERSION_COMMIT=${GH_TAGNAME} \
|
||||
${SH} ./version.sh)
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/OpenBOR.elf \
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1556884312
|
||||
SHA256 (DCurrent-openbor-7000-dc6a1516_GH0.tar.gz) = 9d7307a7af5805f639924b7439ae1128747c2fd92c85a97e75e3b86f938aead7
|
||||
SIZE (DCurrent-openbor-7000-dc6a1516_GH0.tar.gz) = 129096125
|
||||
TIMESTAMP = 1558182532
|
||||
SHA256 (DCurrent-openbor-7022-c5cfb660_GH0.tar.gz) = bcd3a07423ade14a638ccc3c0760bd902cf18987a5e15c7425e2f453cb261ee3
|
||||
SIZE (DCurrent-openbor-7022-c5cfb660_GH0.tar.gz) = 127704392
|
||||
|
Loading…
Reference in New Issue
Block a user