From owner-svn-ports-all@freebsd.org Sat Apr 8 11:03:02 2017 Return-Path: Delivered-To: svn-ports-all@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 C94DED33CC3; Sat, 8 Apr 2017 11:03:02 +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 7D42474E; Sat, 8 Apr 2017 11:03:02 +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 v38B31Cn010684; Sat, 8 Apr 2017 11:03:01 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v38B31p4010683; Sat, 8 Apr 2017 11:03:01 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201704081103.v38B31p4010683@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sat, 8 Apr 2017 11:03:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r438029 - head/ftp/wzdftpd 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.23 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, 08 Apr 2017 11:03:02 -0000 Author: amdmi3 Date: Sat Apr 8 11:03:01 2017 New Revision: 438029 URL: https://svnweb.freebsd.org/changeset/ports/438029 Log: - Add LICENSE_FILE - Switch to USES=localbase - Switch to options helpers Modified: head/ftp/wzdftpd/Makefile Modified: head/ftp/wzdftpd/Makefile ============================================================================== --- head/ftp/wzdftpd/Makefile Sat Apr 8 10:40:49 2017 (r438028) +++ head/ftp/wzdftpd/Makefile Sat Apr 8 11:03:01 2017 (r438029) @@ -11,17 +11,9 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Modular FTP server configurable online using SITE commands LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING -OPTIONS_DEFINE= ICONV IPV6 MYSQL PERL PGSQL SQLITE TCL DOCS -OPTIONS_RADIO= TLS ZEROCONF -OPTIONS_RADIO_TLS= GNUTLS OPENSSL -OPTIONS_RADIO_ZEROCONF= AVAHI HOWL -OPTIONS_DEFAULT= AVAHI GNUTLS -HOWL_DESC= Zeroconf support via Howl - -OPTIONS_SUB= yes - -USES= autoreconf gettext-tools libtool pkgconfig +USES= autoreconf gettext-tools libtool localbase pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --sysconfdir=${ETCDIR} --without-pam --disable-bonjour INSTALL_TARGET= install-strip @@ -29,8 +21,12 @@ USE_LDCONFIG= yes USE_RC_SUBR= wzdftpd -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib +OPTIONS_DEFINE= ICONV IPV6 MYSQL PERL PGSQL SQLITE TCL DOCS +OPTIONS_RADIO= TLS ZEROCONF +OPTIONS_RADIO_TLS= GNUTLS OPENSSL +OPTIONS_RADIO_ZEROCONF= AVAHI HOWL +OPTIONS_DEFAULT= AVAHI GNUTLS +OPTIONS_SUB= yes ICONV_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG} ICONV_CONFIGURE_OFF= --disable-utf8 @@ -65,6 +61,7 @@ AVAHI_CONFIGURE_ON= --with-zeroconf --en AVAHI_LIB_DEPENDS= libdbus-1.so:devel/dbus \ libavahi-core.so:net/avahi-app +HOWL_DESC= Zeroconf support via Howl HOWL_CONFIGURE_ON= --with-zeroconf --enable-howl HOWL_CPPFLAGS= -I${LOCALBASE}/include/howl HOWL_LIB_DEPENDS= libhowl.so:net/howl @@ -97,11 +94,13 @@ post-patch: /gcry_control/d' \ post-install: - (cd ${WRKSRC} && ${INSTALL_DATA} *.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig ) + ${INSTALL_DATA} ${WRKSRC}/*.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in AUTHORS ChangeLog NEWS Permissions.ReadMeFirst README \ TLS.ReadMeFirst UPGRADING wzd_tls.cnf - (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) + ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include