summaryrefslogtreecommitdiff
path: root/net/radius/Makefile
blob: b12b05a1d65ec9f1804185add9a5c53be79a7e02 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:	radius
# Version required:	merit radius 2.4.21
# Date created:		4. July 1996
# Whom:			torstenb@FreeBSD.ORG
#
# $Id: Makefile,v 1.1.1.1 1996/07/05 23:47:28 torstenb Exp $
#

DISTNAME=	radius.2.4.21
PKGNAME=	radius-2.4.21
CATEGORIES=	net
MASTER_SITES=	ftp://ftp.merit.edu/radius/release/

# Restrictive copyright in src/rlmadmin.c
RESTRICTED= "use for non-profit, non-commercial purposes on a shareware basis"

NO_WRKSUBDIR=	yes
INSTALL_TARGET=	install-all

pre-install:
	mkdir -p ${PREFIX}/lib/radius/db ${PREFIX}/lib/radius/acct

.if !defined(NOMANCOMPRESS)
post-install:
	gzip -9nf ${PREFIX}/man/man5/authfile.5 ${PREFIX}/man/man5/clients.5 \
		${PREFIX}/man/man5/dictionary.5 ${PREFIX}/man/man5/users.5 \
		${PREFIX}/man/man8/builddbm.8 ${PREFIX}/man/man8/radcheck.8 \
		${PREFIX}/man/man8/radiusd.8 ${PREFIX}/man/man8/radpwtst.8 \
		${PREFIX}/man/man8/rlmadmin.8
.endif

.include <bsd.port.mk>