openbsd-ports/net/p5-Net-Radius/Makefile
simon 85d0153e13 cpanify and set a few licenses
feedback & ok steven@
2007-01-14 20:49:05 +00:00

38 lines
1013 B
Makefile

# $OpenBSD: Makefile,v 1.2 2007/01/14 20:49:05 simon Exp $
COMMENT= "Perl interface to Radius"
MODULES= cpan
DISTNAME= Net-Radius-1.44
CATEGORIES= net devel
MAINTAINER= Alexander Bluhm <alexander_bluhm@genua.de>
# perl artistic license
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
DATADIR= ${PREFIX}/share/p5-Net-Radius
DOCDIR= ${PREFIX}/share/doc/p5-Net-Radius
DOCS= README README.3COM README.VSA
EXDIR= ${PREFIX}/share/examples/p5-Net-Radius
EXAMPLES= example-client.pl example-menu.pl example-unix.pl \
example-yes.pl radius2ldap.pl tutorial.pl
post-install:
${INSTALL_DATA_DIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/dictionary ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/dictionary.3com ${DATADIR}
${INSTALL_DATA_DIR} ${DOCDIR}
.for file in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCDIR}
.endfor
${INSTALL_DATA_DIR} ${EXDIR}
.for file in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/examples/${file} ${EXDIR}
.endfor
.include <bsd.port.mk>