1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/irc/irssi-otr/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

41 lines
1.0 KiB
Makefile

# Created by: Ashish Shukla <wahjava@gmail.com>
# $FreeBSD$
PORTNAME= irssi-otr
PORTVERSION= 1.0.0
PORTREVISION= 3
CATEGORIES= irc
MASTER_SITES= GHL
MAINTAINER= ashish@FreeBSD.org
COMMENT= Plugin for irssi for Off-the-Record (OTR) messaging
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/include/irssi/src/common.h:${PORTSDIR}/irc/irssi \
${LOCALBASE}/bin/libgcrypt-config:${PORTSDIR}/security/libgcrypt
LIB_DEPENDS= libotr.so:${PORTSDIR}/security/libotr \
libgcrypt.so:${PORTSDIR}/security/libgcrypt
RUN_DEPENDS= irssi:${PORTSDIR}/irc/irssi
USES= pkgconfig
USE_LDCONFIG= yes
USE_GNOME= glib20
USE_GITHUB= yes
GH_ACCOUNT= cryptodotis
GH_PROJECT= ${PORTNAME}
GH_COMMIT= f4ecd19
GH_TAGNAME= v${PORTVERSION}
USE_AUTOTOOLS= autoconf aclocal libtoolize automake
ACLOCAL_ARGS= -I config
AUTOMAKE_ARGS= --add-missing --no-force
CONFIGURE_ARGS= --prefix=${LOCALBASE} --with-libotr-inc-prefix=${LOCALBASE}/include
PLIST_FILES= lib/irssi/modules/libotr.so \
share/irssi/help/otr
.include <bsd.port.mk>