mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
42 lines
904 B
Makefile
42 lines
904 B
Makefile
# Created by: Jens Holmqvist <zparta@hispan.se>
|
|
|
|
PORTNAME= irssi-fish
|
|
DISTVERSION= 1.6.20200629
|
|
CATEGORIES= irc security
|
|
|
|
MAINTAINER= ashish@FreeBSD.org
|
|
COMMENT= Encryption plugin for irssi
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/glib-2.0/glib.h:devel/glib20 \
|
|
${LOCALBASE}/include/irssi/src/common.h:irc/irssi
|
|
RUN_DEPENDS= irssi:irc/irssi
|
|
|
|
USES= cmake gnome pkgconfig ssl
|
|
|
|
USE_GNOME+= glib20
|
|
USE_LDCONFIG= yes
|
|
USE_GITHUB= yes
|
|
|
|
GH_PROJECT= FiSH-irssi
|
|
GH_ACCOUNT= falsovsky
|
|
GH_TAGNAME= 5295563
|
|
|
|
CMAKE_ARGS= -DOPENSSL_FOUND=1 \
|
|
-DOPENSSL_INCLUDE_DIRS=${OPENSSLINC} \
|
|
-DOPENSSL_LIBRARY_DIRS=${OPENSSLLIB}
|
|
|
|
PLIST_FILES= lib/irssi/modules/libfish.so
|
|
PORTDOCS= README
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "s,/usr/local,${LOCALBASE},g" \
|
|
-e "s,share/doc/FiSH-irssi,${DOCSDIR_REL},g" \
|
|
${WRKSRC}/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|