1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/www/kdsoap/Makefile
Adriaan de Groot c1c0b26608 New port: www/kdsoap
KD Soap is a Qt-based client-side and server-side SOAP component.

This is soon to be a dependency for KDE software, and is needed on the
KDE-FreeBSD CI already (to test the stuff that will have this as a
dependency). I'm not 100% convinced about this Makefile: the software
is released through GitHub, but a plain "USE_GITHUB=yes" doesn't
work, and can't fetch the sources. The fetch attempt goes

	=> Attempting to fetch https://github.com/KDAB/KDSoap/releases/download/kdsoap-1.9.0/KDAB-KDSoap-1.9.0_GH0.tar.gz

which fails; chasing the automatic GH download links from the releases
on KDSoap's GH page leads me to

	https://codeload.github.com/KDAB/KDSoap/tar.gz/kdsoap-1.9.0

while the release manager of KDSoap attaches a tarball (and GPG signature)
separately. So that's why there's a bit of "pretend" GH use and an
explicit MASTER_SITES in this port.
2020-02-22 14:52:25 +00:00

33 lines
948 B
Makefile

# $FreeBSD$
PORTNAME= kdsoap
DISTVERSION= 1.9.0
CATEGORIES= www
# It's on GitHub, but KDAB uploads tidy release tarballs,
# so do NOT USE_GITHUB, but do write out the variables.
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${PORTNAME}-${DISTVERSION}/
MAINTAINER= adridg@FreeBSD.org
COMMENT= C++/Qt SOAP framework
# The software is partly under (LGPL21 | GPL2 | GPL3 ), and partly
# under AGPLv3. We choose LGPL21 and AGPLv3, since that's easiest
# to express in a ports Makefile.
LICENSE= LGPL21 AGPLv3
LICENSE_COMB= multi
LICENSE_FILE_LGPL21= ${WRKSRC}/LICENSE.LGPL.txt
LICENSE_FILE_AGPLv3= ${WRKSRC}/LICENSE.AGPL3-modified.txt
USES= cmake compiler:c++11-lang localbase qt:5
USE_LDCONFIG= yes
USE_QT= qmake_build buildtools_build linguisttools_build \
core network widgets xml
# No USE_GITHUB, but pretty close
GH_ACCOUNT= KDAB
GH_PROJECT= KDSoap
PLIST_SUB= SOVER=${DISTVERSION}
.include <bsd.port.mk>