From owner-svn-ports-all@FreeBSD.ORG Sat Jan 25 20:43:37 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E5613F65; Sat, 25 Jan 2014 20:43:37 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D19C214FD; Sat, 25 Jan 2014 20:43:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0PKhbRC094758; Sat, 25 Jan 2014 20:43:37 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0PKhbIY094752; Sat, 25 Jan 2014 20:43:37 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201401252043.s0PKhbIY094752@svn.freebsd.org> From: Baptiste Daroussin Date: Sat, 25 Jan 2014 20:43:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341095 - head/ftp/ftplib X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 20:43:38 -0000 Author: bapt Date: Sat Jan 25 20:43:37 2014 New Revision: 341095 URL: http://svnweb.freebsd.org/changeset/ports/341095 QAT: https://qat.redports.org/buildarchive/r341095/ Log: Support stage USE_GMAKE -> USES=gmake Simplify do-install Strip libraries Modified: head/ftp/ftplib/Makefile Modified: head/ftp/ftplib/Makefile ============================================================================== --- head/ftp/ftplib/Makefile Sat Jan 25 20:42:19 2014 (r341094) +++ head/ftp/ftplib/Makefile Sat Jan 25 20:43:37 2014 (r341095) @@ -11,14 +11,13 @@ COMMENT= Set of routines that implement WRKSRC= ${WRKDIR}/${DISTNAME}/src -USE_GMAKE= yes +USES= gmake USE_LDCONFIG= yes PLIST_FILES= bin/ftpdir bin/ftpget bin/ftplist bin/ftprm bin/ftpsend \ bin/qftp include/ftplib.h \ lib/libftp.a lib/libftp.so lib/libftp.so.4 -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e \ '/^SOVERSION/s|=.*|= $$(SONAME)| ; \ @@ -29,12 +28,12 @@ post-patch: /libftp.so/s|ln -sf|${TRUE}|' ${WRKSRC}/Makefile do-install: - (cd ${WRKSRC} && ${INSTALL_PROGRAM} qftp ${PREFIX}/bin) + ${INSTALL_PROGRAM} ${WRKSRC}/qftp ${STAGEDIR}${PREFIX}/bin .for i in ftpdir ftpget ftplist ftprm ftpsend - (cd ${PREFIX}/bin && ${LN} -sf qftp ${i}) + ${LN} -sf qftp ${STAGEDIR}${PREFIX}/bin/${i} .endfor - (cd ${WRKSRC} && ${INSTALL_DATA} ftplib.h ${PREFIX}/include) - (cd ${WRKSRC} && ${INSTALL_DATA} libftp.a libftp.so.4 ${PREFIX}/lib) - (cd ${PREFIX}/lib && ${LN} -sf libftp.so.4 libftp.so) + ${INSTALL_DATA} ${WRKSRC}/ftplib.h ${STAGEDIR}${PREFIX}/include + ${INSTALL_LIB} ${WRKSRC}/libftp.a ${WRKSRC}/libftp.so.4 ${STAGEDIR}${PREFIX}/lib + ${LN} -sf libftp.so.4 ${STAGEDIR}${PREFIX}/lib/libftp.so .include