1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/dns/dualserver/Makefile
Gabor Kovesdan 0d2a223697 - Drop maintainership. New versions of this software do not build on
FreeBSD. Although I don't use it any more I offered my help to the
  upstream developers in geting it to work, but I have got no response
  from them.
2008-08-14 19:37:54 +00:00

35 lines
979 B
Makefile

# Ports collection Makefile for: dualserver
# Date created: 10 Dec 2005
# Whom: Gabor Kovesdan
# $FreeBSD$
PORTNAME= dualserver
PORTVERSION= 3.0
CATEGORIES= dns net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= dhcp-dns-server
DISTNAME= ${PORTNAME}V${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Combined DHCP/DNS server for small LANs
USE_DOS2UNIX= yes
USE_RC_SUBR= dualserver.sh
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= sbin/dualserver etc/dualserver.conf.sample
.include <bsd.port.pre.mk>
pre-patch:
${REINPLACE_CMD} 's|/etc/dualserver.ini|${PREFIX}/etc/dualserver.conf|' ${WRKSRC}/dualserver.cpp
${REINPLACE_CMD} 's|/etc/dualserver.state|/var/run/dualserver.state|' ${WRKSRC}/dualserver.cpp
do-build:
${CXX} -o ${WRKSRC}/dualserver ${WRKSRC}/dualserver.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dualserver ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/dualserver.ini ${PREFIX}/etc/dualserver.conf.sample
.include <bsd.port.post.mk>