From owner-svn-ports-head@freebsd.org Thu Nov 23 09:00:19 2017 Return-Path: Delivered-To: svn-ports-head@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 993B4DE4C9C; Thu, 23 Nov 2017 09:00:19 +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 63B2135EF; Thu, 23 Nov 2017 09:00:19 +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 vAN90IhM098428; Thu, 23 Nov 2017 09:00:18 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vAN90I2i098426; Thu, 23 Nov 2017 09:00:18 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201711230900.vAN90I2i098426@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 23 Nov 2017 09:00:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r454749 - head/dns/dq X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/dns/dq X-SVN-Commit-Revision: 454749 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Nov 2017 09:00:19 -0000 Author: amdmi3 Date: Thu Nov 23 09:00:18 2017 New Revision: 454749 URL: https://svnweb.freebsd.org/changeset/ports/454749 Log: - Simplify build and installation - Install manpages independent of DOCS options - Use proper command for static library installation Approved by: portmgr blanket Modified: head/dns/dq/Makefile head/dns/dq/pkg-plist Modified: head/dns/dq/Makefile ============================================================================== --- head/dns/dq/Makefile Thu Nov 23 09:00:15 2017 (r454748) +++ head/dns/dq/Makefile Thu Nov 23 09:00:18 2017 (r454749) @@ -3,6 +3,7 @@ PORTNAME= dq PORTVERSION= 20161210 +PORTREVISION= 1 CATEGORIES= dns MAINTAINER= pkubaj@anongoth.pl @@ -12,8 +13,6 @@ LICENSE= PD RUN_DEPENDS= envuidgid:sysutils/daemontools -OPTIONS_DEFINE= DOCS - USE_GITHUB= yes GH_ACCOUNT= janmojzis @@ -21,11 +20,8 @@ USERS= dq GROUPS= dq SUB_FILES= run SUB_LIST= ETCDIR="${ETCDIR}" UID="${USERS}" GID="${GROUPS}" +ALL_TARGET= compile -do-build: - ${MAKE_CMD} -C ${WRKSRC} compile - ${STRIP_CMD} ${WRKSRC}/build/bin/* - do-install: cd ${WRKSRC}/build/bin && ${COPYTREE_BIN} . ${STAGEDIR}${PREFIX}/bin/ cd ${WRKSRC}/build/include && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/ @@ -35,11 +31,9 @@ do-install: ${ECHO_CMD} "${ETCDIR}cache/root" > ${STAGEDIR}${ETCDIR}cache/env/ROOT ${CP} files/root-servers-list ${STAGEDIR}${ETCDIR}cache/root/servers/@ ${CP} ${WRKDIR}/run ${STAGEDIR}${ETCDIR}cache/run - ${INSTALL_LIB} ${WRKSRC}/build/lib/libtinynacl.a ${STAGEDIR}${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/build/lib/libtinynacl.a ${STAGEDIR}${PREFIX}/lib -do-install-DOCS-on: - ${GZIP_CMD} ${WRKSRC}/build/man/* - ${INSTALL_MAN} ${WRKSRC}/build/man/dq*.1.gz ${STAGEDIR}${MANPREFIX}/man/man1 - ${INSTALL_MAN} ${WRKSRC}/build/man/dq*.8.gz ${STAGEDIR}${MANPREFIX}/man/man8 + ${INSTALL_MAN} ${WRKSRC}/build/man/dq*.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/build/man/dq*.8 ${STAGEDIR}${MANPREFIX}/man/man8 .include Modified: head/dns/dq/pkg-plist ============================================================================== --- head/dns/dq/pkg-plist Thu Nov 23 09:00:15 2017 (r454748) +++ head/dns/dq/pkg-plist Thu Nov 23 09:00:18 2017 (r454749) @@ -40,7 +40,7 @@ include/uint32_unpack_big.h include/uint64_pack.h include/uint64_unpack.h lib/libtinynacl.a -%%PORTDOCS%%man/man1/dq.1.gz -%%PORTDOCS%%man/man1/dqcache-makekey.1.gz -%%PORTDOCS%%man/man1/dqcache-start.1.gz -%%PORTDOCS%%man/man8/dqcache.8.gz +man/man1/dq.1.gz +man/man1/dqcache-makekey.1.gz +man/man1/dqcache-start.1.gz +man/man8/dqcache.8.gz