View | Details | Raw Unified | Return to bug 174860 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-6 / +7 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	porttools
4
PORTNAME=	porttools
5
PORTVERSION=	0.99
5
PORTVERSION=	0.99
6
PORTREVISION=	6
6
PORTREVISION=	7
7
CATEGORIES=	ports-mgmt
7
CATEGORIES=	ports-mgmt
8
MASTER_SITES=	SF
8
MASTER_SITES=	SF
9
9
Lines 14-25 Link Here
14
14
15
RUN_DEPENDS=	portlint:${PORTSDIR}/ports-mgmt/portlint \
15
RUN_DEPENDS=	portlint:${PORTSDIR}/ports-mgmt/portlint \
16
		cdiff:${PORTSDIR}/textproc/cdiff \
16
		cdiff:${PORTSDIR}/textproc/cdiff \
17
		sudo:${PORTSDIR}/security/sudo
17
		sudo:${PORTSDIR}/security/sudo \
18
		svn:${PORTSDIR}/devel/subversion
18
19
19
.if !defined(NOPORTDOCS)
20
INSTALL_TARGET=	install install-docs
21
.endif
22
23
MAKE_ENV=	DATADIR="${DATADIR}" DOCSDIR="${DOCSDIR}"
20
MAKE_ENV=	DATADIR="${DATADIR}" DOCSDIR="${DOCSDIR}"
24
# Make the version information of porttools itself
21
# Make the version information of porttools itself
25
# available for inclusion in the PRs generated by it.
22
# available for inclusion in the PRs generated by it.
Lines 45-48 Link Here
45
RUN_DEPENDS+=	newfile:${PORTSDIR}/devel/newfile
42
RUN_DEPENDS+=	newfile:${PORTSDIR}/devel/newfile
46
.endif
43
.endif
47
44
45
.if ${PORT_OPTIONS:MDOCS}
46
INSTALL_TARGET=	install install-docs
47
.endif
48
48
.include <bsd.port.mk>
49
.include <bsd.port.mk>
(-)files/patch-README (+61 lines)
Line 0 Link Here
1
--- README.orig	2009-09-10 04:59:59.000000000 +0900
2
+++ README	2012-12-27 19:22:20.000000000 +0900
3
@@ -7,7 +7,7 @@
4
 
5
 FreeBSD Port Tools consist of the several small scripts run from
6
 port(1) front-end:
7
-- port commit: commit a port into the FreeBSD Ports CVS Repository
8
+- port commit: commit a port into the FreeBSD Ports SVN Repository
9
 - port create: create a new port from a template
10
 - port diff: generate a diff against a previous version of the port
11
 - port fetch: fetch distfile(s) of a new version of the port
12
@@ -43,42 +43,35 @@
13
 Let us assume you are interested in helping out with one of the ports.
14
 The most convenient way of doing that with the Port Tools is the following.
15
 Even though the Port Tools have 3 most of diff generation, the recommended is 
16
-CVS (default). Do not be scared away at this point - it is very simple.
17
+SVN (default). Do not be scared away at this point - it is very simple.
18
 Let me give a quick overview:
19
 
20
-1. Set up CVSROOT environment variable
21
-
22
-   sgk@elf% export CVSROOT=":pserver:anoncvs@anoncvs.FreeBSD.org:/home/ncvs"
23
-
24
-   NOTE: you may want to check the Handbook for a list of anonymous CVS servers
25
-   (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/anoncvs.html).
26
-
27
-2. Check out a working copy of the port. I usually do it in ~/ports directory:
28
+1. Check out a working copy of the port. I usually do it in ~/ports directory:
29
    (NOTE: my ~/ports directory contains only those ports I am interested in,
30
    i.e. either maitain or send changes/updates to. Thus, it does not have
31
    to contain the whole FreeBSD Ports tree)
32
 
33
    sgk@elf:~% cd ~/ports
34
-   sgk@elf:~/ports% cvs co ipsvd
35
+   sgk@elf:~/ports% svn co ipsvd
36
 
37
    ipsvd is the sample port name.
38
 
39
-3. Now, make your changes - e.g. change PORTVERSION from 0.6.0 to 0.6.1.
40
+2. Now, make your changes - e.g. change PORTVERSION from 0.6.0 to 0.6.1.
41
 
42
    sgk@elf:~/ports/ipsvd% cd ipsvd
43
    sgk@elf:~/ports/ipsvd% vim Makefile
44
 
45
-4. At this moment we need to fetch the new distfile and run "make makesum" 
46
+3. At this moment we need to fetch the new distfile and run "make makesum" 
47
    to update the distinfo file. There is even simpler way to accomplish this 
48
    with the Port Tools version 0.50 or later:
49
 
50
    sgk@elf:~/ports/ipsvd% port fetch
51
 
52
-5. Now we want to make sure that the port compiles, installs and works fine:
53
+4. Now we want to make sure that the port compiles, installs and works fine:
54
 
55
    sgk@elf:~/ports/ipsvd% port test
56
 
57
-6. Once I am satisfied with the results, let us submit a PR 
58
+5. Once I am satisfied with the results, let us submit a PR 
59
    with the port update:
60
 
61
    sgk@elf:~/ports/ipsvd% port submit

Return to bug 174860