summaryrefslogtreecommitdiff
path: root/net/ascend-radius
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1996-12-01 01:23:27 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1996-12-01 01:23:27 +0000
commit49f337d203a35b330e9816734307eae928c9ad22 (patch)
tree9c7a58bc72f073465ca4da2b58638cc25beb2f62 /net/ascend-radius
parentCleaned up post-install target. (diff)
General Makefile cleanup
Add MAINATERS mkdir -p ==> ${MKDIR} cp ==> ${CP} install ==> ${INSTALL}/${INSTALL_*} etc...
Diffstat (limited to 'net/ascend-radius')
-rw-r--r--net/ascend-radius/Makefile18
1 files changed, 5 insertions, 13 deletions
diff --git a/net/ascend-radius/Makefile b/net/ascend-radius/Makefile
index def133ccb756..221a6815ea24 100644
--- a/net/ascend-radius/Makefile
+++ b/net/ascend-radius/Makefile
@@ -3,7 +3,7 @@
# Date created: August 28th 96
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
#
-# $Id: Makefile,v 1.4 1996/10/18 11:50:13 jfitz Exp $
+# $Id: Makefile,v 1.5 1996/11/18 11:34:23 asami Exp $
#
DISTNAME= radius-961015
@@ -18,24 +18,16 @@ WRKPREFIX= radius-961015/radius-1.16-ascend
WRKSRC= ${WRKDIR}/${WRKPREFIX}/ascendd
ALL_TARGET= all dbm
+MAN1= builddbm.1 users-file-syntax.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/radiusd ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/radiusd.dbm ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/builddbm ${PREFIX}/sbin
-.ifdef NOMANCOMPRESS
${INSTALL_MAN} ${WRKDIR}/${WRKPREFIX}/man1/users-file-syntax.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKDIR}/${WRKPREFIX}/man1/builddbm.1 ${PREFIX}/man/man1
-.else
- @ ${CP} ${WRKDIR}/${WRKPREFIX}/man1/users-file-syntax.1 ${WRKSRC}
- @ ${CP} ${WRKDIR}/${WRKPREFIX}/man1/builddbm.1 ${WRKSRC}
- @ gzip -9nf ${WRKSRC}/users-file-syntax.1
- @ gzip -9nf ${WRKSRC}/builddbm.1
- ${INSTALL_MAN} ${WRKSRC}/users-file-syntax.1.gz ${PREFIX}/man/man1
- ${INSTALL_MAN} ${WRKSRC}/builddbm.1.gz ${PREFIX}/man/man1
-.endif
.ifndef NOPORTDOCS
- @ mkdir -p ${PREFIX}/share/doc/ascend-radius
+ @ ${MKDIR} ${PREFIX}/share/doc/ascend-radius
for file in ascend.doc draft-ietf-radius-accounting-01.txt draft-ietf-radius-radius-03.txt draft-ietf-radius-radius-04.txt; do \
${INSTALL_DATA} ${WRKDIR}/${WRKPREFIX}/doc/$$file ${PREFIX}/share/doc/ascend-radius; \
done
@@ -43,13 +35,13 @@ do-install:
${INSTALL_DATA} ${WRKDIR}/${WRKPREFIX}/$$file ${PREFIX}/share/doc/ascend-radius; \
done
.endif
- @ mkdir -p ${PREFIX}/etc/raddb
+ @ ${MKDIR} ${PREFIX}/etc/raddb
@ chown root.wheel ${PREFIX}/etc/raddb
@ chmod 700 ${PREFIX}/etc/raddb
for file in clients.example dictionary users.example; do \
${INSTALL} -c -o root -g wheel -m 0400 ${WRKDIR}/${WRKPREFIX}/raddb/$$file ${PREFIX}/etc/raddb; \
done
- @ mkdir -p /var/log/radacct
+ @ ${MKDIR} /var/log/radacct
@ chown root.wheel /var/log/radacct
@ chmod 700 /var/log/radacct