- Simplify build and installation
- Install manpages independent of DOCS options - Use proper command for static library installation Approved by: portmgr blanket
This commit is contained in:
parent
b3b0ce7efc
commit
16281007de
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=454749
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user