Date: Sat, 25 Jan 2014 20:43:37 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341095 - head/ftp/ftplib Message-ID: <201401252043.s0PKhbIY094752@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401252043.s0PKhbIY094752>