aboutsummaryrefslogtreecommitdiffstats
path: root/irc/irssi-fish
diff options
context:
space:
mode:
authorashish <ashish@FreeBSD.org>2016-04-29 23:12:09 +0800
committerashish <ashish@FreeBSD.org>2016-04-29 23:12:09 +0800
commit0bd5a34fce533bf772c155a69213b380c5f8725a (patch)
tree08e60b11898b63f97932e30ad36ab7f8f0148f07 /irc/irssi-fish
parent036e1a6a8024b7fbd731c9592af460b51bfb667f (diff)
downloadfreebsd-ports-gnome-0bd5a34fce533bf772c155a69213b380c5f8725a.tar.gz
freebsd-ports-gnome-0bd5a34fce533bf772c155a69213b380c5f8725a.tar.zst
freebsd-ports-gnome-0bd5a34fce533bf772c155a69213b380c5f8725a.zip
- Switch to new upstream
- Update to 1.4 snapshot
Diffstat (limited to 'irc/irssi-fish')
-rw-r--r--irc/irssi-fish/Makefile50
-rw-r--r--irc/irssi-fish/distinfo4
2 files changed, 14 insertions, 40 deletions
diff --git a/irc/irssi-fish/Makefile b/irc/irssi-fish/Makefile
index f5f1e6b5c435..3c2ee3f5a1c0 100644
--- a/irc/irssi-fish/Makefile
+++ b/irc/irssi-fish/Makefile
@@ -2,58 +2,32 @@
# $FreeBSD$
PORTNAME= irssi-fish
-DISTVERSION= 1.00-RC5
+DISTVERSION= 1.4.20160122
CATEGORIES= irc security
-MASTER_SITES= http://fish.secure.la/irssi/ \
- http://mirror.shatow.net/freebsd/${PORTNAME}/
-DISTNAME= FiSH-irssi.v${DISTVERSION}-source
MAINTAINER= ashish@FreeBSD.org
COMMENT= Encryption plugin for irssi
BUILD_DEPENDS= ${LOCALBASE}/include/glib-2.0/glib.h:devel/glib20 \
- ${LOCALBASE}/lib/libmiracl.a:math/miracl \
${LOCALBASE}/include/irssi/src/common.h:irc/irssi
RUN_DEPENDS= irssi:irc/irssi
-USES= zip
+USE_GITHUB= yes
+GH_PROJECT= FiSH-irssi
+GH_ACCOUNT= falsovsky
+GH_TAGNAME= 2b0c1c09
+
+USES= cmake pkgconfig
USE_LDCONFIG= yes
PLIST_FILES= lib/irssi/modules/libfish.so
-PORTDOCS= FiSH-irssi.txt FiSH-irssi_History.txt
-
-OPTIONS_DEFINE= DOCS
-
-.include <bsd.port.options.mk>
+PORTDOCS= README.md FiSH-irssi.txt
-.if ${ARCH} == "amd64"
-ALL_TARGET= amd64
-.endif
+USE_OPENSSL= yes
+WITH_OPENSSL_PORT= yes
post-patch:
- @${GREP} -Rl 'fish[.]sekure[.]us' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} -E \
- -e 's|fish[.]sekure[.]us|fish.secure.la|g'
- @${REINPLACE_CMD} -E \
- -e 's|gcc|${CC}|' \
- -e 's|-O2|${CFLAGS}|' \
- -e 's|-static||' \
- -e 's|-shared|-shared -fPIC -DPIC|' \
- -e 's|[$$][(]HOME[)]/glib-1.2.10|${LOCALBASE}/include/glib-2.0|' \
- -e 's|[$$][(]HOME[)]/irssi-0.8.9|${LOCALBASE}/include/irssi|' \
- -e 's|miracl.a|${LOCALBASE}/lib/libmiracl.a|' \
- -e 's|[$$]\(pwd\)|`pwd`|g' \
- -e 's|\@echo \"Press ENTER to continue or CTRL\+C to abort...\"\; read junk||' \
- ${WRKSRC}/Makefile
- @${REINPLACE_CMD} -e '/mirdef.lnx/d' ${WRKSRC}/Makefile
-
-do-install:
- @${MKDIR} ${STAGEDIR}${PREFIX}/lib/irssi/modules
- ${INSTALL_PROGRAM} ${WRKSRC}/libfish.so ${STAGEDIR}${PREFIX}/lib/irssi/modules
-
-do-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for doc in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
-.endfor
+ ${REINPLACE_CMD} -e "s,/usr/local,${LOCALBASE},g" \
+ -e "s,share/doc/FiSH-irssi,${DOCSDIR_REL},g" ${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>
diff --git a/irc/irssi-fish/distinfo b/irc/irssi-fish/distinfo
index 2e5c93492904..aade51882d11 100644
--- a/irc/irssi-fish/distinfo
+++ b/irc/irssi-fish/distinfo
@@ -1,2 +1,2 @@
-SHA256 (FiSH-irssi.v1.00-RC5-source.zip) = 528e56aa4b81c22b2d7f4ce76340b4ddaac800952846c9824cf1f42d3adf1b25
-SIZE (FiSH-irssi.v1.00-RC5-source.zip) = 48146
+SHA256 (falsovsky-FiSH-irssi-1.4.20160122-2b0c1c09_GH0.tar.gz) = 2ba50a440b923bc85167d89c38c5182f92f920ac1389d8c67aef22ad111104e0
+SIZE (falsovsky-FiSH-irssi-1.4.20160122-2b0c1c09_GH0.tar.gz) = 21161