aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-11-23 17:00:18 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-11-23 17:00:18 +0800
commitdfd7ede15627ae7e2fa467bd115a22ec0d7db424 (patch)
tree21c0f5b15f336993477af71ce841a7bc9a7fc5b0 /dns
parent0a005b72e81e7ebc4f58815fc457faf4a705c3fc (diff)
downloadfreebsd-ports-gnome-dfd7ede15627ae7e2fa467bd115a22ec0d7db424.tar.gz
freebsd-ports-gnome-dfd7ede15627ae7e2fa467bd115a22ec0d7db424.tar.zst
freebsd-ports-gnome-dfd7ede15627ae7e2fa467bd115a22ec0d7db424.zip
- Simplify build and installation
- Install manpages independent of DOCS options - Use proper command for static library installation Approved by: portmgr blanket
Diffstat (limited to 'dns')
-rw-r--r--dns/dq/Makefile16
-rw-r--r--dns/dq/pkg-plist8
2 files changed, 9 insertions, 15 deletions
diff --git a/dns/dq/Makefile b/dns/dq/Makefile
index 1f382632a9f0..a782bf25f218 100644
--- a/dns/dq/Makefile
+++ b/dns/dq/Makefile
@@ -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,10 +20,7 @@ USERS= dq
GROUPS= dq
SUB_FILES= run
SUB_LIST= ETCDIR="${ETCDIR}" UID="${USERS}" GID="${GROUPS}"
-
-do-build:
- ${MAKE_CMD} -C ${WRKSRC} compile
- ${STRIP_CMD} ${WRKSRC}/build/bin/*
+ALL_TARGET= compile
do-install:
cd ${WRKSRC}/build/bin && ${COPYTREE_BIN} . ${STAGEDIR}${PREFIX}/bin/
@@ -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 <bsd.port.mk>
diff --git a/dns/dq/pkg-plist b/dns/dq/pkg-plist
index 2df3c6e9cee9..138e3698e3ab 100644
--- a/dns/dq/pkg-plist
+++ b/dns/dq/pkg-plist
@@ -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