mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
36 lines
981 B
Makefile
36 lines
981 B
Makefile
# Created by: Sergei Kolobov <sergei@kolobov.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ipsvd
|
|
PORTVERSION= 1.0.0
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://smarden.org/ipsvd/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Internet protocol service daemons
|
|
|
|
WRKSRC= ${WRKDIR}/net/${DISTNAME}
|
|
ALL_TARGET= default
|
|
|
|
DOCS= package/CHANGES package/COPYING package/README doc/*.html
|
|
|
|
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
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|