Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Feb 2016 10:13:35 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r407698 - head/ftp/twoftpd
Message-ID:  <201602011013.u11ADZ8D031690@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Feb  1 10:13:35 2016
New Revision: 407698
URL: https://svnweb.freebsd.org/changeset/ports/407698

Log:
  - Clarify LICENSE
  - Add LICENSE_FILE
  - Switch to USES=localbase
  - Switch to options helpers

Modified:
  head/ftp/twoftpd/Makefile

Modified: head/ftp/twoftpd/Makefile
==============================================================================
--- head/ftp/twoftpd/Makefile	Mon Feb  1 10:13:29 2016	(r407697)
+++ head/ftp/twoftpd/Makefile	Mon Feb  1 10:13:35 2016	(r407698)
@@ -10,15 +10,13 @@ MASTER_SITES=	http://untroubled.org/${PO
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Simple, secure, efficient FTP server
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	${LOCALBASE}/bin/bg-installer:${PORTSDIR}/devel/bglibs
 LIB_DEPENDS=	libcvm-v2client.so:${PORTSDIR}/security/cvm
 
-OPTIONS_DEFINE=	DOCS
-
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+USES=		localbase
 
 BGLIBS_LIB=	${LOCALBASE}/lib/bglibs
 BGLIBS_INCLUDE=	${LOCALBASE}/include/bglibs
@@ -31,6 +29,8 @@ PLIST_FILES=	bin/twoftpd-anon bin/twoftp
 		man/man1/twoftpd-auth.1.gz man/man1/twoftpd-switch.1.gz \
 		man/man1/twoftpd-xfer.1.gz
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e 's,timezone,tm.tm_gmtoff,' ${WRKSRC}/statmod.c
 
@@ -50,6 +50,8 @@ do-install:
 .for f in twoftpd-auth.1 twoftpd-switch.1 twoftpd-xfer.1
 	${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${MAN1PREFIX}/man/man1/
 .endfor
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in NEWS README TODO
 	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602011013.u11ADZ8D031690>