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