openbsd-ports/mail/drac/Makefile

42 lines
1.1 KiB
Makefile
Raw Normal View History

2011-06-22 06:32:11 -04:00
# $OpenBSD: Makefile,v 1.8 2011/06/22 10:32:11 ajacoutot Exp $
COMMENT= dynamic relay authorization control daemon
DISTNAME= drac
2010-11-19 02:23:05 -05:00
PKGNAME= ${DISTNAME}-1.12
2011-06-22 06:32:11 -04:00
REVISION = 3
CATEGORIES= mail
HOMEPAGE= http://mail.cc.umanitoba.ca/drac/
# 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}
2010-10-18 15:59:15 -04:00
USE_GROFF = Yes
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>