2008-10-22 07:05:36 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2008/10/22 11:05:36 sthen Exp $
|
2005-01-27 15:51:41 -05:00
|
|
|
|
2007-09-15 20:17:04 -04:00
|
|
|
COMMENT= dynamic relay authorization control daemon
|
2005-01-27 15:51:41 -05:00
|
|
|
|
|
|
|
DISTNAME= drac
|
2008-10-22 07:05:36 -04:00
|
|
|
PKGNAME= ${DISTNAME}-1.12p2
|
2005-01-27 15:51:41 -05:00
|
|
|
CATEGORIES= mail
|
|
|
|
|
|
|
|
HOMEPAGE= http://mail.cc.umanitoba.ca/drac/
|
|
|
|
|
2006-10-27 08:53:01 -04:00
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
2005-01-27 15:51:41 -05:00
|
|
|
|
|
|
|
# BSD alike
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c
|
|
|
|
|
|
|
|
MASTER_SITES= ftp://ftp.cc.umanitoba.ca/src/
|
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}
|
|
|
|
|
|
|
|
MAKE_ENV= SYSCONFDIR=${SYSCONFDIR}
|
|
|
|
|
|
|
|
pre-build:
|
|
|
|
cd ${WRKSRC} && perl -pi -e "s,/etc,${SYSCONFDIR},g" rpc.dracd.1m
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/rpc.dracd ${PREFIX}/libexec
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/drac.h ${PREFIX}/include
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libdrac.a ${PREFIX}/lib
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/dracauth.3 ${PREFIX}/man/man3
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/rpc.dracd.1m ${PREFIX}/man/man1/rpc.dracd.1
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/drac
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/dracd.allow-sample ${PREFIX}/share/examples/drac/
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/drac
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/doc/drac/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|