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

- update to version 1.26, which has one* support and a fix in chroot

- install example script in /usr/local/share/examples/rc_subr
- fix MASTER_SITES
- assume maintainership
This commit is contained in:
Oliver Eikemeier 2004-05-27 16:03:36 +00:00
parent ddfe79b999
commit f06442911c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110141
2 changed files with 16 additions and 50 deletions

View File

@ -6,61 +6,27 @@
#
PORTNAME= rc_subr
PORTVERSION= 1.16
PORTVERSION= 1.26
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.westbend.net/pub/FreeBSD/ports/local-distfiles/rcNG/
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= eik
MAINTAINER= ports@FreeBSD.org
MAINTAINER= eik@FreeBSD.org
COMMENT= Common startup and shutdown subroutines used by scripts
USE_BZIP2= yes
NO_BUILD= yes
MAN8= rc.subr.8
PLIST_FILES= etc/rc.subr
PLIST_FILES= etc/rc.subr \
${EXAMPLESDIR:S,^${PREFIX}/,,}/README \
${EXAMPLESDIR:S,^${PREFIX}/,,}/example.sh
PLIST_DIRS= ${EXAMPLESDIR:S,^${PREFIX}/,,}
do-install:
${INSTALL_DATA} -m 644 ${WRKSRC}/rc.subr ${PREFIX}/etc/
${INSTALL_MAN} ${WRKSRC}/rc.subr.8 ${PREFIX}/man/man8
@${INSTALL_SCRIPT} ${WRKSRC}/rc.subr ${PREFIX}/etc
@${INSTALL_MAN} ${WRKSRC}/rc.subr.8 ${MAN8PREFIX}/man/man8
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/example.sh ${EXAMPLESDIR}
.include <bsd.port.pre.mk>
CVS_CMD?= cvs -z3
CVS_SITES?= :pserver:anoncvs@anoncvs.FreeBSD.org:/home/ncvs \
:pserver:anoncvs@anoncvs.de.FreeBSD.org:/home/ncvs \
:pserver:anoncvs@anoncvs2.de.FreeBSD.org:/home/ncvs \
:pserver:anoncvs@anoncvs.jp.FreeBSD.org:/home/ncvs
CVS_FILE1= src/etc/rc.subr
CVS_FILE2= src/share/man/man8/rc.subr.8
CVS_MANVER= 1.3
#
# CVS checkout stuff mostly stolen from security/openssh-askpass port by
# kris@freebsd.org
#
# NOTE: Don't forget to type 'anoncvs' for password
#
tarball:
${MKDIR} ${DISTDIR}/${PKGNAME} && \
cd ${DISTDIR}/${PKGNAME}; \
for CVS_SITE in ${CVS_SITES}; do \
${ECHO_MSG} ">> Attempting to check out from $${CVS_SITE}."; \
if ${CVS_CMD} -d $${CVS_SITE} login ; then \
if ${CVS_CMD} -d $${CVS_SITE} co -r "${PORTVERSION}" \
${CVS_FILE1}; then \
${CVS_CMD} -d $${CVS_SITE} co -r ${CVS_MANVER} ${CVS_FILE2}; \
cd ${DISTDIR}; \
${ECHO_MSG} ">> Creating dist tarball in ${DISTDIR}"; \
${ECHO_MSG} ">> \"${PKGNAME}.tar.gz\"."; \
${MV} ${PKGNAME}/${CVS_FILE1} ${PKGNAME}; \
${MV} ${PKGNAME}/${CVS_FILE2} ${PKGNAME}; \
${RM} -rf ${PKGNAME}/src; \
${TAR} -czf ${PKGNAME}.tar.gz ${PKGNAME}; \
exit; \
fi \
fi \
done; \
${RMDIR} ${DISTDIR}/${PKGNAME}; \
${ECHO_MSG} ">> CVS checkout failed."; \
exit 1;
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
MD5 (rc_subr-1.16.tar.gz) = de11df897db35e927aaf5498aa04c17c
SIZE (rc_subr-1.16.tar.gz) = 13882
MD5 (rc_subr-1.26.tar.bz2) = edf9387db635624f00b7ea80b9792759
SIZE (rc_subr-1.26.tar.bz2) = 14423