1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Fix incorrect chmod for directory.

PR:		ports/35192
Submitted by:	Helge Oldach <ports-net-snmp@oldach.net>
This commit is contained in:
Jun Kuriyama 2002-07-26 06:25:56 +00:00
parent f86655b574
commit dc14245405
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=63584
2 changed files with 6 additions and 4 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= ucd-snmp
PORTVERSION= 4.2.5
PORTREVISION= 1
CATEGORIES= net ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ucd-snmp.ucdavis.edu/ \
@ -73,8 +74,8 @@ post-patch:
post-install:
@( cd ${PREFIX}/bin && strip ${BIN} )
@( cd ${PREFIX}/sbin && strip ${SBIN} )
@( cd ${PREFIX}/include/ucd-snmp && ${CHMOD} 644 * )
@( cd ${PREFIX}/share/snmp/mibs && ${CHMOD} 644 * )
@${FIND} ${PREFIX}/include/ucd-snmp ${PREFIX}/share/snmp/mibs -type f \
| ${XARGS} ${CHMOD} 644
@${MKDIR} ${PREFIX}/share/examples/ucd-snmp
@for F in ${WRKSRC}/EXAMPLE.conf ${WRKSRC}/agent/mibgroup/examples/ucdDemoPublic.conf; do \
${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done

View File

@ -7,6 +7,7 @@
PORTNAME= ucd-snmp
PORTVERSION= 4.2.5
PORTREVISION= 1
CATEGORIES= net ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ucd-snmp.ucdavis.edu/ \
@ -73,8 +74,8 @@ post-patch:
post-install:
@( cd ${PREFIX}/bin && strip ${BIN} )
@( cd ${PREFIX}/sbin && strip ${SBIN} )
@( cd ${PREFIX}/include/ucd-snmp && ${CHMOD} 644 * )
@( cd ${PREFIX}/share/snmp/mibs && ${CHMOD} 644 * )
@${FIND} ${PREFIX}/include/ucd-snmp ${PREFIX}/share/snmp/mibs -type f \
| ${XARGS} ${CHMOD} 644
@${MKDIR} ${PREFIX}/share/examples/ucd-snmp
@for F in ${WRKSRC}/EXAMPLE.conf ${WRKSRC}/agent/mibgroup/examples/ucdDemoPublic.conf; do \
${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done