diff options
-rw-r--r-- | irc/xchat-mircryption/Makefile | 77 | ||||
-rw-r--r-- | irc/xchat-mircryption/distinfo | 3 | ||||
-rw-r--r-- | irc/xchat-mircryption/pkg-descr | 24 | ||||
-rw-r--r-- | japanese/uim-anthy/Makefile | 53 | ||||
-rw-r--r-- | japanese/uim-anthy/pkg-descr | 3 | ||||
-rw-r--r-- | japanese/uim-anthy/pkg-plist | 6 |
6 files changed, 166 insertions, 0 deletions
diff --git a/irc/xchat-mircryption/Makefile b/irc/xchat-mircryption/Makefile new file mode 100644 index 000000000..785cbb8a7 --- /dev/null +++ b/irc/xchat-mircryption/Makefile @@ -0,0 +1,77 @@ +# New ports collection makefile for: XChat encryption +# Date created: Sat Jan 8 21:48:41 UTC 2005 +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ + +PORTNAME= mircryption +DISTVERSION= 1.1.27 +CATEGORIES= irc security +MASTER_SITES= http://mircryption.sourceforge.net/Downloads/ +PKGNAMEPREFIX= xchat- +DISTNAME= mircryption_xchatsrc + +MAINTAINER= ports@FreeBSD.org +COMMENT= A free encryption add-on for the popular XChat irc client + +RUN_DEPENDS= xchat:${PORTSDIR}/irc/xchat + +USE_ZIP= yes +ALL_TARGET= freebsd +CFLAGS+= -fPIC +USE_LDCONFIG= yes + +WRKSRC= ${WRKDIR}/mircryption/src/xchat/ +# +DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} +EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} + +PLIST_DIRS= \ + %%EXAMPLESDIR%% +PLIST_FILES= \ + lib/xchat/plugins/mircryption.so \ + %%EXAMPLESDIR%%/mcps_masterkey_on_start.pl + +PORTDOCS= \ + README.txt + +post-patch: +# \r\n -> \n + @${FIND} ${WRKSRC} -type f -exec \ + ${REINPLACE_CMD} -E \ + -e 's|
||' \ + {} \; +# CFLAGS safeness +# LDFLAGS safeness +# linker safeness + @${REINPLACE_CMD} -E \ + -e 's|^(CFLAGS.+)"$$|\1 ${CFLAGS}"|' \ + -e 's|^(LDFLAGS.+)"$$|\1 ${LDFLAGS}"|' \ + -e 's|^(LOAD).*$$|LOAD=${CXX}|' \ + ${WRKSRC}/${MAKEFILE} +# set perl path if it exists +.ifdef(PERL5) + @${REINPLACE_CMD} -E \ + -e 's|/usr/bin/perl|${PERL5}|' \ + ${WRKSRC}/extras/mcps_masterkey_on_start.pl +.endif + +do-install: +# docs +.ifndef(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/README.txt \ + ${DOCSDIR} +.endif +# plugin + @${MKDIR} ${PREFIX}/lib/xchat/plugins + @${INSTALL_PROGRAM} ${WRKSRC}/mircryption.so \ + ${PREFIX}/lib/xchat/plugins +# script + @${MKDIR} ${EXAMPLESDIR} + @${INSTALL_SCRIPT} \ + ${WRKSRC}/extras/mcps_masterkey_on_start.pl \ + ${EXAMPLESDIR} + +.include <bsd.port.mk> diff --git a/irc/xchat-mircryption/distinfo b/irc/xchat-mircryption/distinfo new file mode 100644 index 000000000..34822f1ce --- /dev/null +++ b/irc/xchat-mircryption/distinfo @@ -0,0 +1,3 @@ +MD5 (mircryption_xchatsrc.zip) = daf2065fe74efe91a8ebb0c83da87bc8 +SHA256 (mircryption_xchatsrc.zip) = d9e7dab51559294eeca43ec6a2e7ad20a05a00104b7f7cb886996b06cab847e4 +SIZE (mircryption_xchatsrc.zip) = 632479 diff --git a/irc/xchat-mircryption/pkg-descr b/irc/xchat-mircryption/pkg-descr new file mode 100644 index 000000000..cefb54486 --- /dev/null +++ b/irc/xchat-mircryption/pkg-descr @@ -0,0 +1,24 @@ +[ excerpt from developer's web site with modifications ] + +Mircryption is a free encryption add-on for the popular irc clients +mIRC and XChat. Features: + +- Channel text, Private query windows, DCC Chats, Actions, Topics can +all be encrypted. All crypto-related algorithms used are taken from +published, common, trusted sources. Encryption algorithm is Blowfish +(no known vulnerabilities); encryption keys are themselves stored +in encrypted form. + +- Supports CBC mode encryption. + +- No need to modify the way you work - text is encrypted and decrypted +automatically; encryption status of conversations is clear but +unobtrusive. + +- User-friendly key management routines; menu driven and easy to +temporarily disable & re-enable encryption on a channel, send plain +text quicky, etc. + +WWW: http://www.donationcoder.com/Software/Mouser/mircryption/index.php + +-- lioux@FreeBSD.org diff --git a/japanese/uim-anthy/Makefile b/japanese/uim-anthy/Makefile new file mode 100644 index 000000000..ea7bdffa8 --- /dev/null +++ b/japanese/uim-anthy/Makefile @@ -0,0 +1,53 @@ +# New ports collection makefile for: ja-uim-anthy +# Date created: 31 August 2003 +# Whom: MANTANI Nobutaka <nobutaka@FreeBSD.org> +# +# $FreeBSD: ports/japanese/uim-anthy/Makefile,v 1.5 2006/09/03 14:09:22 nobutaka Exp $ +# + +CATEGORIES= japanese +.if defined(WITHOUT_X11) +PKGNAMESUFFIX= -anthy-nox11 +.else +PKGNAMESUFFIX= -anthy +.endif + +COMMENT= Uim plugin using Anthy input method + +.if !defined(WITHOUT_X11) +USE_GNOME= gtk20 +.endif + +LIB_DEPENDS= anthy.1:${PORTSDIR}/japanese/anthy \ + uim.3:${PORTSDIR}/textproc/uim + +MASTERDIR= ${.CURDIR}/../../textproc/uim +PKGDIR= ${.CURDIR} +CONFIGURE_ARGS= --with-anthy + +.if !defined(WITHOUT_X11) +CONFIGURE_ARGS+= --with-gtk2 -enable-dict +.endif + +UIM_SLAVE= yes + +EXTRA_PATCHES= ${PATCHDIR}/extra-patch-uim_Makefile.in \ + ${PATCHDIR}/extra-patch-helper_Makefile.in + +do-build: + (cd ${WRKSRC}/uim && ${GMAKE} libuim-anthy.la) +.if !defined(WITHOUT_X11) + (cd ${WRKSRC}/helper && ${GMAKE} LIBS="-luim" uim-dict-gtk) +.endif + +do-install: + (cd ${WRKSRC}/uim && \ + ${GMAKE} uim_plugin_LTLIBRARIES=libuim-anthy.la install-uim_pluginLTLIBRARIES) +.if !defined(WITHOUT_X11) + (cd ${WRKSRC}/helper && ${GMAKE} bin_PROGRAMS=uim-dict-gtk install-binPROGRAMS) +.endif + +post-install: + ${LOCALBASE}/bin/uim-module-manager --register anthy + +.include "${MASTERDIR}/Makefile" diff --git a/japanese/uim-anthy/pkg-descr b/japanese/uim-anthy/pkg-descr new file mode 100644 index 000000000..aebe6ac8d --- /dev/null +++ b/japanese/uim-anthy/pkg-descr @@ -0,0 +1,3 @@ +uim plugin using Anthy input method. + +WWW: http://uim.freedesktop.org/wiki/ diff --git a/japanese/uim-anthy/pkg-plist b/japanese/uim-anthy/pkg-plist new file mode 100644 index 000000000..1cd2cccad --- /dev/null +++ b/japanese/uim-anthy/pkg-plist @@ -0,0 +1,6 @@ +%%X11%%bin/uim-dict-gtk +lib/uim/plugin/libuim-anthy.a +lib/uim/plugin/libuim-anthy.la +lib/uim/plugin/libuim-anthy.so +@exec uim-module-manager --register anthy +@unexec uim-module-manager --unregister anthy |