freebsd-ports/comms/lysdr/Makefile
Bryan Drewery 5b5a90256d Update USE_GITHUB so it does not require GH_COMMIT.
Using this new scheme allows only setting the _tag_ or _commit hash_ in
GH_TAGNAME and not having to know the hash for a tag.  This scheme will
download a tarball that has a different checksum than before due to a changed
directory name for extraction.

The following MASTER_SITES are provided to retain the old checksum and
directory structure (that require GH_COMMIT):
  GH -> GHL
  GITHUB -> GITHUB_LEGACY

Differential Revision:	https://reviews.freebsd.org/D748
Submitted by:	amdmi3
Reviewed by:	mat, swills, antoine, bdrewery
With hat:	portmgr
2015-03-19 16:44:57 +00:00

34 lines
651 B
Makefile

# $FreeBSD$
PORTNAME= lysdr
PORTVERSION= 0.0.6
PORTREVISION= 1
CATEGORIES= comms hamradio
MASTER_SITES= GHL
MAINTAINER= shurd@FreeBSD.org
COMMENT= Lysdr SDR program for Unix
LICENSE= GPLv2
LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3 \
libjack.so:${PORTSDIR}/audio/jack
WRKSRC= ${WRKDIR}/gordonjcp-lysdr-46d31fe
USE_GITHUB= yes
GH_ACCOUNT= gordonjcp
GH_COMMIT= 46d31fe
GH_TAGNAME= stable-0
USES= pkgconfig
USE_GNOME= gtk20
PLIST_FILES= bin/lysdr
post-patch:
${CP} ${FILESDIR}/Makefile ${WRKSRC}
${CP} ${FILESDIR}/cexp.c ${WRKSRC}
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/lysdr ${STAGEDIR}${PREFIX}/bin/lysdr
.include <bsd.port.mk>