diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-02-01 02:03:03 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-02-01 02:03:03 +0800 |
commit | 799e25dc572140278e3e93a58b9232b754decd9d (patch) | |
tree | c191b5e5c642cf1e56ca515f3b403ebcab185f39 /ftp | |
parent | 477554a42463f2490de2ea00bf663411360d1a98 (diff) | |
download | freebsd-ports-gnome-799e25dc572140278e3e93a58b9232b754decd9d.tar.gz freebsd-ports-gnome-799e25dc572140278e3e93a58b9232b754decd9d.tar.zst freebsd-ports-gnome-799e25dc572140278e3e93a58b9232b754decd9d.zip |
- Add LICENSE
- Switch to options helpers
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/ncftp3/Makefile | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/ftp/ncftp3/Makefile b/ftp/ncftp3/Makefile index 4b5f777bd023..6df4d10f9920 100644 --- a/ftp/ncftp3/Makefile +++ b/ftp/ncftp3/Makefile @@ -12,49 +12,47 @@ DISTNAME= ncftp-${PORTVERSION}-src MAINTAINER= ports@FreeBSD.org COMMENT= FTP client with advanced user interface +LICENSE= ARTPERL10 LICENSE_FILE= ${WRKSRC}/doc/LICENSE.txt -USES= tar:bzip2 +USES= tar:bzip2 WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//} USE_LDCONFIG= yes GNU_CONFIGURE= yes -OPTIONS_DEFINE= LIBS DOCS -OPTIONS_DEFAULT=LIBS -LIBS_DESC= Install optional libraries -OPTIONS_SUB= yes - PORTDOCS= * LIBNCFTP= libncftp.so.3 LIBSIO= libsio.so.5 LIBSTRN= libStrn.so.1 -.include <bsd.port.options.mk> +OPTIONS_DEFINE= LIBS DOCS +OPTIONS_DEFAULT=LIBS +LIBS_DESC= Install optional libraries +OPTIONS_SUB= yes -.if ${PORT_OPTIONS:MLIBS} -pre-build: +pre-build-LIBS-on: .for dir in Strn libncftp sio ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} -C ${WRKSRC}/${dir} so .endfor -.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${STAGEDIR}${PREFIX}/bin ${LN} -sf ncftpbatch ${STAGEDIR}${PREFIX}/bin/ncftpspooler ${INSTALL_MAN} ${WRKSRC}/doc/man/* ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/Strn/Strn.3 ${STAGEDIR}${MANPREFIX}/man/man3 + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) -${RM} -r ${STAGEDIR}${DOCSDIR}/man -.if ${PORT_OPTIONS:MLIBS} +do-install-LIBS-on: ${INSTALL_LIB} ${WRKSRC}/Strn/${LIBSTRN} ${STAGEDIR}${PREFIX}/lib .for lib in libncftp/${LIBNCFTP} sio/${LIBSIO} Strn/${LIBSTRN} ${INSTALL_LIB} ${WRKSRC}/${lib} ${STAGEDIR}${PREFIX}/lib ${LN} -sf ${lib:T} ${STAGEDIR}${PREFIX}/lib/${lib:T:R} .endfor -.endif .include <bsd.port.mk> |