[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / chat / silc-client

File: [cvs.NetBSD.org] / pkgsrc / chat / silc-client / Makefile (download)

Revision 1.68, Thu Jan 19 18:52:03 2017 UTC (6 years, 8 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1
Changes since 1.67: +3 -3 lines

Convert all occurrences (353 by my count) of

	MASTER_SITES= 	site1 \
			site2

style continuation lines to be simple repeated

	MASTER_SITES+= site1
	MASTER_SITES+= site2

lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint
accordingly.

# $NetBSD: Makefile,v 1.68 2017/01/19 18:52:03 agc Exp $

DISTNAME=		${SILC_CLIENT_DISTNAME}
PKGREVISION=		8
CATEGORIES=		chat security
MASTER_SITES=		http://www.silcnet.org/download/client/sources/
MASTER_SITES+=		ftp://ftp.silcnet.org/silc/client/sources/
EXTRACT_SUFX=		${SILC_CLIENT_EXTRACT_SUFX}

MAINTAINER=		salo@NetBSD.org
HOMEPAGE=		http://www.silcnet.org/
COMMENT=		Client for the Secure Internet Live Conferencing (SILC) protocol

.include "../../mk/bsd.prefs.mk"
.include "../../chat/silc-client/Makefile.common"

GNU_CONFIGURE=		YES
USE_TOOLS+=		gmake
USE_LIBTOOL=		YES
OVERRIDE_DIRDEPTH=	3
SHLIBTOOL_OVERRIDE=	# empty

PKG_SYSCONFSUBDIR?=	${PKGBASE}

EGDIR=			${PREFIX}/share/examples/${PKGBASE}
MAKE_ENV+=		examplesdir=${EGDIR}

CONF_FILES+=		${EGDIR}/silc.conf.default ${PKG_SYSCONFDIR}/silc.conf

GNU_CONFIGURE_LIBSUBDIR=${PKGBASE}
CONFIGURE_ARGS+=	--with-helpdir=${PREFIX}/share/${PKGBASE}/help
CONFIGURE_ARGS+=	--with-docdir=${PREFIX}/share/doc/${PKGBASE}
CONFIGURE_ARGS+=	--with-etcdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+=	--with-simdir=${PREFIX}/lib/${PKGBASE}/modules
CONFIGURE_ARGS+=	--with-iconv=${BUILDLINK_DIR}
CONFIGURE_ARGS+=	--enable-shared
CONFIGURE_ARGS+=	--with-terminfo
CONFIGURE_ARGS+=	--without-ncurses
CONFIGURE_ARGS+=	--without-libtoolfix

# Assembler optimizations.
#
.if (${MACHINE_ARCH} != "i386")
CONFIGURE_ARGS+=	--disable-asm
.endif

.include "options.mk"

PLIST_SRC+=		${PKGDIR}/PLIST
INSTALLATION_DIRS+=	lib/${PKGBASE} libexec/${PKGBASE}/scripts

post-install:
	${INSTALL_DATA} ${WRKSRC}/apps/irssi/config.h ${DESTDIR}${SILC_CLIENT_CONFIG_H}
	${INSTALL_DATA} ${WRKSRC}/apps/irssi/irssi-config ${DESTDIR}${SILC_CLIENT_CONFIG}
.if !empty(PKG_OPTIONS:Mperl)
	${INSTALL_DATA} ${WRKSRC}/apps/irssi/scripts/*.pl	\
	    ${DESTDIR}${PREFIX}/libexec/${PKGBASE}/scripts
# Create PLIST fragment for Perl modules.
#
	@cd ${DESTDIR}${PREFIX} &&						     \
		${FIND} lib/${PKGBASE}/perl5 -type f > ${WRKDIR}/PLIST.perl
.endif

.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/glib/buildlink3.mk"
.include "../../mk/termcap.buildlink3.mk"

.include "../../mk/bsd.pkg.mk"