mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
47 lines
1.4 KiB
Makefile
47 lines
1.4 KiB
Makefile
# Created by: Sergei Kolobov <sergei@kolobov.com>
|
|
|
|
PORTNAME= ipsvd
|
|
PORTVERSION= 1.0.0
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://smarden.org/ipsvd/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Internet protocol service daemons
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/package/COPYING
|
|
|
|
BROKEN_armv6= fails to install: Checking udpsvd... drop: unable to read from socket: bad address
|
|
BROKEN_armv7= fails to install: Checking udpsvd... drop: unable to read from socket: bad address
|
|
BROKEN_mips64= fails to install: tcpsvd failed
|
|
BROKEN_riscv64= fails to install: Checking udpsvd... drop: unable to read from socket: bad address
|
|
|
|
WRKSRC= ${WRKDIR}/net/${DISTNAME}
|
|
ALL_TARGET= default
|
|
|
|
DOCS= package/CHANGES package/COPYING package/README doc/*.html
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-configure:
|
|
@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc
|
|
@${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/src/conf-ld
|
|
@${ECHO_CMD} "${LOCALBASE}/include/libdjbdns" \
|
|
> ${WRKSRC}/src/conf-djbdnsinc
|
|
@${ECHO_CMD} "${LOCALBASE}/lib" > ${WRKSRC}/src/conf-djbdnslib
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && package/compile && package/check
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/command/* ${STAGEDIR}${PREFIX}/sbin
|
|
.for n in 5 7 8
|
|
${INSTALL_MAN} ${WRKSRC}/man/*.${n} ${STAGEDIR}${MANPREFIX}/man/man${n}
|
|
.endfor
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|