openbsd-ports/net/ipsvd/Makefile
sturm 672e5007cc update to ipsvd 0.10.1
from maintainer Lars Hansson <lars at unet.net.ph>
2005-02-23 22:00:33 +00:00

56 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.3 2005/02/23 22:00:33 sturm Exp $
COMMENT= "set of internet protocol service daemons for Unix"
DISTNAME= ipsvd-0.10.1
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
WANTLIB= c
MASTER_SITES= ${HOMEPAGE}
WRKDIST= ${WRKDIR}/net/ipsvd-0.10.1
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>