mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Stagify.
Take maintainership of rdist6 port.
This commit is contained in:
parent
e3d6c061bb
commit
5b4ff98319
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355770
@ -11,11 +11,11 @@ MAINTAINER= cy@FreeBSD.org
|
||||
COMMENT= The traditional 4.4BSD rdist
|
||||
|
||||
|
||||
USE_BZIP2= yes
|
||||
USES= tar:bzip2
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
MAN1= 44bsd-rdist.1
|
||||
PLIST_FILES= bin/44bsd-rdist
|
||||
PLIST_FILES= bin/44bsd-rdist \
|
||||
man/man1/44bsd-rdist.1.gz
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
@ -23,13 +23,12 @@ PLIST_FILES= bin/44bsd-rdist
|
||||
BUILD_DEPENDS= rcs:${PORTSDIR}/devel/rcs57
|
||||
.endif
|
||||
|
||||
NO_STAGE= yes
|
||||
post-extract:
|
||||
cd ${WRKSRC} ; co RCS/*,v
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/rdist ${PREFIX}/bin/44bsd-rdist
|
||||
${INSTALL_MAN} ${WRKSRC}/rdist.1 ${PREFIX}/man/man1/44bsd-rdist.1
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/rdist ${STAGEDIR}${PREFIX}/bin/44bsd-rdist
|
||||
${INSTALL_MAN} ${WRKSRC}/rdist.1 ${STAGEDIR}${PREFIX}/man/man1/44bsd-rdist.1
|
||||
|
||||
tarup:
|
||||
-cd ${WRKSRC} ; ${RM} *
|
||||
|
@ -8,21 +8,19 @@ CATEGORIES= net
|
||||
MASTER_SITES= http://www.magnicomp.com/download/rdist/ \
|
||||
ftp://ftp.sunet.se/pub/unix/admin/mirror-magnicomp/download/rdist/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= cy@FreeBSD.org
|
||||
COMMENT= Network file distribution/synchronisation utility
|
||||
|
||||
# To avoid confusion with /usr/bin/rdist, you may prefer otherwise.
|
||||
RDIST_NAME?= rdist6
|
||||
|
||||
INSTALL_TARGET= install install.man
|
||||
MAKE_ENV= BUILD_OPT="${CFLAGS}" BUILD_CLIENT=${RDIST_NAME}
|
||||
MAN1= ${RDIST_NAME}.1
|
||||
MAN8= rdistd.8
|
||||
MAKE_ENV= BUILD_OPT="${CFLAGS}" BUILD_CLIENT=${RDIST_NAME} \
|
||||
STAGEDIR=${STAGEDIR}
|
||||
PLIST_SUB= RDIST_NAME=${RDIST_NAME}
|
||||
|
||||
NO_STAGE= yes
|
||||
post-install:
|
||||
@${STRIP_CMD} ${PREFIX}/bin/${RDIST_NAME}
|
||||
@${STRIP_CMD} ${PREFIX}/bin/rdistd
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${RDIST_NAME}
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rdistd
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -13,7 +13,7 @@
|
||||
# BIN_DIR variable, you would uncomment the following line
|
||||
# or add your own line.
|
||||
#
|
||||
! BIN_DIR = $(PREFIX)/bin
|
||||
! BIN_DIR = ${STAGEDIR}$(PREFIX)/bin
|
||||
! OPT = $(BUILD_OPT)
|
||||
! CLIENT = $(BUILD_CLIENT)
|
||||
|
||||
@ -33,8 +33,8 @@
|
||||
#
|
||||
# Site specific Man Page configuration.
|
||||
#
|
||||
! MAN_1_DIR = $(PREFIX)/man/man1
|
||||
! MAN_8_DIR = $(PREFIX)/man/man8
|
||||
! MAN_1_DIR = ${STAGEDIR}$(PREFIX)/man/man1
|
||||
! MAN_8_DIR = ${STAGEDIR}$(PREFIX)/man/man8
|
||||
! MAN_OWNER = bin
|
||||
! MAN_GROUP = bin
|
||||
#MAN_MODE = 644
|
||||
|
11
net/rdist6/files/patch-doc-Makefile.real
Normal file
11
net/rdist6/files/patch-doc-Makefile.real
Normal file
@ -0,0 +1,11 @@
|
||||
--- doc/Makefile.real.orig 1998-11-09 21:40:06.000000000 -0800
|
||||
+++ doc/Makefile.real 2014-05-29 19:32:52.700090356 -0700
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
CLIENT_DEST = ${MAN_1_DIR}/${CLIENT}.${MAN_1_SECT}
|
||||
SERVER_DEST = ${MAN_8_DIR}/${SERVER}.${MAN_8_SECT}
|
||||
-INSTALL_ARGS = -c -o ${MAN_OWNER} -g ${MAN_GROUP} -m ${MAN_MODE}
|
||||
+INSTALL_ARGS = -c
|
||||
|
||||
all:
|
||||
|
23
net/rdist6/files/patch-src-Makefile.real
Normal file
23
net/rdist6/files/patch-src-Makefile.real
Normal file
@ -0,0 +1,23 @@
|
||||
--- src/Makefile.real.orig 1998-11-09 20:03:46.000000000 -0800
|
||||
+++ src/Makefile.real 2014-05-29 19:25:12.420724836 -0700
|
||||
@@ -8,7 +8,7 @@
|
||||
# $Id: Makefile.real,v 1.12 1998/11/10 04:03:46 mcooper Exp $
|
||||
#
|
||||
|
||||
-IN_ARGS = -c -g ${BIN_GROUP}
|
||||
+IN_ARGS = -c
|
||||
|
||||
HFILES = ../config/config.h ../config/config-data.h \
|
||||
../config/config-def.h ../config/os-$(OS).h \
|
||||
@@ -52,9 +52,9 @@
|
||||
$(COMMONOBJS) $(MISSINGOBJS)
|
||||
|
||||
install:
|
||||
- $(INSTALL) ${IN_ARGS} -o $(BIN_OWNER) -m ${RDIST_MODE} \
|
||||
+ $(INSTALL) ${IN_ARGS} \
|
||||
$(CLIENT_BIN) $(BIN_DIR)/$(CLIENT)
|
||||
- $(INSTALL) ${IN_ARGS} -o ${BIN_OWNER} -m ${RDISTD_MODE} \
|
||||
+ $(INSTALL) ${IN_ARGS} \
|
||||
$(SERVER_BIN) $(BIN_DIR)/$(SERVER)
|
||||
|
||||
install.man:
|
@ -1,2 +1,11 @@
|
||||
@owner root
|
||||
@group bin
|
||||
@mode 555
|
||||
bin/%%RDIST_NAME%%
|
||||
bin/rdistd
|
||||
@mode 644
|
||||
@owner root
|
||||
@group bin
|
||||
man/man1/%%RDIST_NAME%%.1.gz
|
||||
man/man8/rdistd.8.gz
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user