PLIST fixes.
Found by: bento
This commit is contained in:
parent
e531baf8c1
commit
eacacfcab7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=26346
@ -23,6 +23,15 @@ INSTALL_TARGET= install install-sample-data install-chroot
|
|||||||
|
|
||||||
MAN8= rmkdbindex.8 rwhoisd.8
|
MAN8= rmkdbindex.8 rwhoisd.8
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if ${OSVERSION} < 400011
|
||||||
|
PLIST= ${WRKDIR}/PLIST
|
||||||
|
pre-install:
|
||||||
|
@${SED} -e "/libc.so.4/d" \
|
||||||
|
${PKGDIR}/PLIST > ${PLIST}
|
||||||
|
.endif
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${MKDIR} -p ${PREFIX}/share/doc/rwhois
|
${MKDIR} -p ${PREFIX}/share/doc/rwhois
|
||||||
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/rwhois
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/rwhois
|
||||||
@ -38,4 +47,4 @@ post-install:
|
|||||||
@ ${ECHO} "#[ -x ${PREFIX}/lib/rwhois/sbin/rwhoisd ] && ${PREFIX}/lib/rwhois/sbin/rwhoisd -c ${PREFIX}/lib/rwhois/rwhois.conf & && ${ECHO} -n ' rwhoisd'" >> ${PREFIX}/etc/rc.d/rwhoisd.sh
|
@ ${ECHO} "#[ -x ${PREFIX}/lib/rwhois/sbin/rwhoisd ] && ${PREFIX}/lib/rwhois/sbin/rwhoisd -c ${PREFIX}/lib/rwhois/rwhois.conf & && ${ECHO} -n ' rwhoisd'" >> ${PREFIX}/etc/rc.d/rwhoisd.sh
|
||||||
${CHMOD} 751 ${PREFIX}/etc/rc.d/rwhoisd.sh
|
${CHMOD} 751 ${PREFIX}/etc/rc.d/rwhoisd.sh
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
@ -88,7 +88,7 @@ lib/rwhois/rwhois.objects
|
|||||||
lib/rwhois/rwhois.root
|
lib/rwhois/rwhois.root
|
||||||
lib/rwhois/sbin/rwhoisd
|
lib/rwhois/sbin/rwhoisd
|
||||||
lib/rwhois/usr/lib/libc.so.3.1
|
lib/rwhois/usr/lib/libc.so.3.1
|
||||||
lib/rwhois/usr/lib/libwrap.so.7.6
|
lib/rwhois/usr/lib/libc.so.4
|
||||||
lib/rwhois/usr/libexec/ld.so
|
lib/rwhois/usr/libexec/ld.so
|
||||||
share/doc/rwhois/EXAMPLES
|
share/doc/rwhois/EXAMPLES
|
||||||
share/doc/rwhois/INSTALLATION
|
share/doc/rwhois/INSTALLATION
|
||||||
|
@ -23,6 +23,15 @@ INSTALL_TARGET= install install-sample-data install-chroot
|
|||||||
|
|
||||||
MAN8= rmkdbindex.8 rwhoisd.8
|
MAN8= rmkdbindex.8 rwhoisd.8
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if ${OSVERSION} < 400011
|
||||||
|
PLIST= ${WRKDIR}/PLIST
|
||||||
|
pre-install:
|
||||||
|
@${SED} -e "/libc.so.4/d" \
|
||||||
|
${PKGDIR}/PLIST > ${PLIST}
|
||||||
|
.endif
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${MKDIR} -p ${PREFIX}/share/doc/rwhois
|
${MKDIR} -p ${PREFIX}/share/doc/rwhois
|
||||||
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/rwhois
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/rwhois
|
||||||
@ -38,4 +47,4 @@ post-install:
|
|||||||
@ ${ECHO} "#[ -x ${PREFIX}/lib/rwhois/sbin/rwhoisd ] && ${PREFIX}/lib/rwhois/sbin/rwhoisd -c ${PREFIX}/lib/rwhois/rwhois.conf & && ${ECHO} -n ' rwhoisd'" >> ${PREFIX}/etc/rc.d/rwhoisd.sh
|
@ ${ECHO} "#[ -x ${PREFIX}/lib/rwhois/sbin/rwhoisd ] && ${PREFIX}/lib/rwhois/sbin/rwhoisd -c ${PREFIX}/lib/rwhois/rwhois.conf & && ${ECHO} -n ' rwhoisd'" >> ${PREFIX}/etc/rc.d/rwhoisd.sh
|
||||||
${CHMOD} 751 ${PREFIX}/etc/rc.d/rwhoisd.sh
|
${CHMOD} 751 ${PREFIX}/etc/rc.d/rwhoisd.sh
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
@ -88,7 +88,7 @@ lib/rwhois/rwhois.objects
|
|||||||
lib/rwhois/rwhois.root
|
lib/rwhois/rwhois.root
|
||||||
lib/rwhois/sbin/rwhoisd
|
lib/rwhois/sbin/rwhoisd
|
||||||
lib/rwhois/usr/lib/libc.so.3.1
|
lib/rwhois/usr/lib/libc.so.3.1
|
||||||
lib/rwhois/usr/lib/libwrap.so.7.6
|
lib/rwhois/usr/lib/libc.so.4
|
||||||
lib/rwhois/usr/libexec/ld.so
|
lib/rwhois/usr/libexec/ld.so
|
||||||
share/doc/rwhois/EXAMPLES
|
share/doc/rwhois/EXAMPLES
|
||||||
share/doc/rwhois/INSTALLATION
|
share/doc/rwhois/INSTALLATION
|
||||||
|
Loading…
Reference in New Issue
Block a user