mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
- Switch to new upstream
- Update to 1.4 snapshot
This commit is contained in:
parent
37912dfbd5
commit
00d2dd9dc6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=414275
@ -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
|
||||
PORTDOCS= README.md FiSH-irssi.txt
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user