mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
net/libpfctl: Fix makesum to deal with multiple OS release versions
Allow makesum to generate entries for all supported versions. patch adapted from lang/python-doc-html. PR: 285264
This commit is contained in:
parent
0f5bc8d19a
commit
0f0d78cc8f
1 changed files with 9 additions and 1 deletions
|
@ -36,9 +36,17 @@ do-install:
|
|||
${LN} -s libpfctl.so.0 ${STAGEDIR}${PREFIX}/lib/libpfctl.so
|
||||
${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include
|
||||
|
||||
_ALL_VERSIONS= 13.3 13.4 14.0 14.1 14.2
|
||||
.if make(makesum)
|
||||
DISTFILES=
|
||||
.for version in ${_ALL_VERSIONS}
|
||||
DISTFILES+= libpfctl-${version}_${_LIBPFCTL_REV}.tar.gz
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.if defined(MAINTAINER_MODE)
|
||||
upload:
|
||||
for version in 13.3 13.4 14.0 14.1 14.2; \
|
||||
for version in ${_ALL_VERSIONS}; \
|
||||
do \
|
||||
cd /usr/src/lib && \
|
||||
git archive --format=tar.gz \
|
||||
|
|
Loading…
Add table
Reference in a new issue