2004-12-20 05:35:34 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.2 2004/12/20 10:35:36 alek Exp $
|
2004-10-02 19:13:41 -04:00
|
|
|
|
|
|
|
COMMENT= "small and secure replacement for syslogd"
|
|
|
|
|
|
|
|
DISTNAME= socklog-1.5.0
|
|
|
|
CATEGORIES= sysutils
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.smarden.org/socklog/
|
|
|
|
|
|
|
|
MAINTAINER= Lars Hansson <lars@unet.net.ph>
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-20 05:35:34 -05:00
|
|
|
WANTLIB= c
|
2004-10-02 19:13:41 -04:00
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
WRKDIST= ${WRKDIR}/admin/socklog-1.5.0
|
|
|
|
WRKSRC= ${WRKDIST}/src
|
|
|
|
BINPROGRAMS= tryto uncat
|
|
|
|
SBINPROGRAMS= socklog socklog-check socklog-conf
|
|
|
|
BINMANPAGES= tryto.1 uncat.1
|
|
|
|
SBINMANPAGES= socklog-check.8 socklog-conf.8 socklog.8
|
|
|
|
DOCS1= benefits.html network.html socklog.8.html \
|
|
|
|
configuration.html notify.html tryto.1.html \
|
|
|
|
examples.html uncat.1.html index.html \
|
|
|
|
socklog-check.8.html upgrade.html install.html \
|
|
|
|
socklog-conf.8.html
|
|
|
|
DOCS2= 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 ${BINPROGRAMS}
|
|
|
|
${INSTALL_PROGRAM} ${WRKDIST}/command/${pgm} ${PREFIX}/bin/
|
|
|
|
.endfor
|
|
|
|
.for pgm in ${SBINPROGRAMS}
|
|
|
|
${INSTALL_PROGRAM} ${WRKDIST}/command/${pgm} ${PREFIX}/sbin/
|
|
|
|
.endfor
|
|
|
|
.for page in ${BINMANPAGES}
|
|
|
|
${INSTALL_MAN} ${WRKDIST}/man/${page} ${PREFIX}/man/man1
|
|
|
|
.endfor
|
|
|
|
.for page in ${SBINMANPAGES}
|
|
|
|
${INSTALL_MAN} ${WRKDIST}/man/${page} ${PREFIX}/man/man8
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/socklog
|
|
|
|
.for doc in ${DOCS1}
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/doc/${doc} ${PREFIX}/share/doc/socklog/
|
|
|
|
.endfor
|
|
|
|
.for doc in ${DOCS2}
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/package/${doc} ${PREFIX}/share/doc/socklog/
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|