Annotation of pkgsrc/chat/silc-client/Makefile, Revision 1.74
1.74 ! wiz 1: # $NetBSD: Makefile,v 1.73 2020/05/31 17:23:45 rillig Exp $
1.1 hubertf 2:
1.24 salo 3: DISTNAME= ${SILC_CLIENT_DISTNAME}
1.74 ! wiz 4: PKGREVISION= 12
1.14 jschauma 5: CATEGORIES= chat security
1.68 agc 6: MASTER_SITES= http://www.silcnet.org/download/client/sources/
7: MASTER_SITES+= ftp://ftp.silcnet.org/silc/client/sources/
1.24 salo 8: EXTRACT_SUFX= ${SILC_CLIENT_EXTRACT_SUFX}
1.1 hubertf 9:
1.27 grant 10: MAINTAINER= salo@NetBSD.org
1.1 hubertf 11: HOMEPAGE= http://www.silcnet.org/
1.46 wiz 12: COMMENT= Client for the Secure Internet Live Conferencing (SILC) protocol
1.1 hubertf 13:
1.49 tonnerre 14: .include "../../mk/bsd.prefs.mk"
1.24 salo 15: .include "../../chat/silc-client/Makefile.common"
16:
1.20 salo 17: GNU_CONFIGURE= YES
1.39 jlam 18: USE_TOOLS+= gmake
1.20 salo 19: USE_LIBTOOL= YES
1.45 jlam 20: OVERRIDE_DIRDEPTH= 3
21: SHLIBTOOL_OVERRIDE= # empty
1.18 salo 22:
1.35 salo 23: PKG_SYSCONFSUBDIR?= ${PKGBASE}
1.1 hubertf 24:
1.35 salo 25: EGDIR= ${PREFIX}/share/examples/${PKGBASE}
1.49 tonnerre 26: MAKE_ENV+= examplesdir=${EGDIR}
1.18 salo 27:
1.35 salo 28: CONF_FILES+= ${EGDIR}/silc.conf.default ${PKG_SYSCONFDIR}/silc.conf
1.18 salo 29:
1.72 rillig 30: GNU_CONFIGURE_LIBSUBDIR= ${PKGBASE}
31: CONFIGURE_ARGS+= --with-helpdir=${PREFIX}/share/${PKGBASE}/help
32: CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_DIR}
33: CONFIGURE_ARGS+= --enable-shared
34: CONFIGURE_ARGS+= --with-terminfo
35: CONFIGURE_ARGS+= --without-ncurses
1.10 rh 36:
1.11 hubertf 37: # Assembler optimizations.
38: #
1.1 hubertf 39: .if (${MACHINE_ARCH} != "i386")
40: CONFIGURE_ARGS+= --disable-asm
41: .endif
1.11 hubertf 42:
1.37 salo 43: .include "options.mk"
1.11 hubertf 44:
45: PLIST_SRC+= ${PKGDIR}/PLIST
1.56 joerg 46: INSTALLATION_DIRS+= lib/${PKGBASE} libexec/${PKGBASE}/scripts
1.24 salo 47:
48: post-install:
1.56 joerg 49: ${INSTALL_DATA} ${WRKSRC}/apps/irssi/config.h ${DESTDIR}${SILC_CLIENT_CONFIG_H}
50: ${INSTALL_DATA} ${WRKSRC}/apps/irssi/irssi-config ${DESTDIR}${SILC_CLIENT_CONFIG}
1.37 salo 51: .if !empty(PKG_OPTIONS:Mperl)
1.47 salo 52: ${INSTALL_DATA} ${WRKSRC}/apps/irssi/scripts/*.pl \
1.56 joerg 53: ${DESTDIR}${PREFIX}/libexec/${PKGBASE}/scripts
1.35 salo 54: # Create PLIST fragment for Perl modules.
55: #
1.56 joerg 56: @cd ${DESTDIR}${PREFIX} && \
1.54 joerg 57: ${FIND} lib/${PKGBASE}/perl5 -type f > ${WRKDIR}/PLIST.perl
1.35 salo 58: .endif
1.1 hubertf 59:
1.34 salo 60: .include "../../converters/libiconv/buildlink3.mk"
61: .include "../../devel/glib/buildlink3.mk"
1.63 roy 62: .include "../../mk/termcap.buildlink3.mk"
1.22 jlam 63:
1.1 hubertf 64: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>