openbsd-ports/net/ipsvd/Makefile
naddy d671cca645 Import ipsvd 0.9.6; from Lars Hansson <lars@unet.net.ph>.
ipsvd is a set of internet protocol service daemons for Unix. It
currently includes a TCP/IP service daemon, and a UDP/IP service
daemon.
2004-10-02 23:53:15 +00:00

55 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2004/10/02 23:53:15 naddy Exp $
COMMENT= "set of internet protocol service daemons for Unix"
DISTNAME= ipsvd-0.9.6
CATEGORIES= net
HOMEPAGE= http://www.smarden.org/ipsvd/
MAINTAINER= Lars Hansson <lars@unet.net.ph>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
WRKDIST= ${WRKDIR}/net/ipsvd-0.9.6
WRKSRC= ${WRKDIST}/src
SBINPROGRAMS= ipsvd-cdb tcpsvd udpsvd
MAN8PAGES= ipsvd-cdb.8 tcpsvd.8 udpsvd.8
DOCS= benefits.html ipsvd-cdb.8.html tcpsvd.8.html \
examples.html ipsvd-instruct.5.html udpsvd.8.html \
index.html ipsvd.7.html upgrade.html install.html
PKGDOCS= CHANGES README COPYING
pre-build:
echo "${CC} ${CFLAGS} ${COPTS}" > ${WRKSRC}/conf-cc
echo "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld
do-build:
cd ${WRKDIST} && package/compile
do-regress:
cd ${WRKDIST}/compile && make check
do-install:
.for pgm in ${SBINPROGRAMS}
${INSTALL_PROGRAM} ${WRKDIST}/command/${pgm} ${PREFIX}/sbin/
.endfor
.for page in ${MAN8PAGES}
${INSTALL_MAN} ${WRKDIST}/man/${page} ${PREFIX}/man/man8/
.endfor
${INSTALL_MAN} ${WRKDIST}/man/ipsvd.7 ${PREFIX}/man/man7/
${INSTALL_MAN} ${WRKDIST}/man/ipsvd-instruct.5 ${PREFIX}/man/man5/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ipsvd
.for doc in ${DOCS}
${INSTALL_DATA} ${WRKDIST}/doc/${doc} ${PREFIX}/share/doc/ipsvd/
.endfor
.for doc in ${PKGDOCS}
${INSTALL_DATA} ${WRKDIST}/package/${doc} ${PREFIX}/share/doc/ipsvd/
.endfor
.include <bsd.port.mk>