From owner-svn-ports-head@freebsd.org Thu Dec 31 01:19:27 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 62718A56942; Thu, 31 Dec 2015 01:19:27 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 165731CBB; Thu, 31 Dec 2015 01:19:27 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tBV1JQcL092315; Thu, 31 Dec 2015 01:19:26 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tBV1JQVZ092313; Thu, 31 Dec 2015 01:19:26 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201512310119.tBV1JQVZ092313@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 31 Dec 2015 01:19:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r404894 - head/misc/linm X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Dec 2015 01:19:27 -0000 Author: amdmi3 Date: Thu Dec 31 01:19:25 2015 New Revision: 404894 URL: https://svnweb.freebsd.org/changeset/ports/404894 Log: - Switch to options helpers - Fix plist for WITH=SMB Modified: head/misc/linm/Makefile head/misc/linm/pkg-plist Modified: head/misc/linm/Makefile ============================================================================== --- head/misc/linm/Makefile Thu Dec 31 01:18:43 2015 (r404893) +++ head/misc/linm/Makefile Thu Dec 31 01:19:25 2015 (r404894) @@ -3,7 +3,7 @@ PORTNAME= linm DISTVERSION= 0.8.1-1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc shells MASTER_SITES= http://kldp.net/frs/download.php/4508/ DISTNAME= ${PORTNAME}_${DISTVERSION} @@ -27,23 +27,17 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= SMB DOCS +OPTIONS_SUB= yes -.include - -.if ${PORT_OPTIONS:MSMB} -LIB_DEPENDS+= libsmbclient.so:${PORTSDIR}/net/samba-libsmbclient -PLIST_SUB+= SMB="" -.else -CONFIGURE_ENV+= ac_cv_lib_smbclient_smbc_new_context=no -PLIST_SUB+= SMB="@comment " -.endif +SMB_LIB_DEPENDS= libsmbclient.so:${PORTSDIR}/net/samba-libsmbclient +SMB_CONFIGURE_ENV_OFF= ac_cv_lib_smbclient_smbc_new_context=no post-patch: @${REINPLACE_CMD} -e 's|configpath|cfgpath|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e '/^AM_CFLAGS/s|=.*|= -fPIC -std=gnu89|' \ ${WRKSRC}/panel/vfs/libssh2/Makefile.in -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in AUTHORS ChangeLog README README.ko_euckr README.ko_utf8 ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} Modified: head/misc/linm/pkg-plist ============================================================================== --- head/misc/linm/pkg-plist Thu Dec 31 01:18:43 2015 (r404893) +++ head/misc/linm/pkg-plist Thu Dec 31 01:19:25 2015 (r404894) @@ -18,9 +18,9 @@ lib/liblinmpluginsftp.so lib/liblinmpluginsftp.so.0 lib/liblinmpluginsftp.so.0.0.0 %%SMB%%lib/liblinmpluginsmb.a -%%SMB%%lib/liblinmpluginsmb.la %%SMB%%lib/liblinmpluginsmb.so %%SMB%%lib/liblinmpluginsmb.so.0 +%%SMB%%lib/liblinmpluginsmb.so.0.0.0 share/applications/LinM.desktop %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/ChangeLog