- Switch to options helpers

- Regenerate patches with `make makepatch`
This commit is contained in:
Dmitry Marakasov 2016-08-05 09:01:01 +00:00
parent 2428d47de8
commit 97ef227365
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=419676
3 changed files with 11 additions and 9 deletions

View file

@ -19,8 +19,10 @@ PLIST_FILES= sbin/gag
OPTIONS_DEFINE= DOCS
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/gag ${STAGEDIR}${PREFIX}/sbin
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
${INSTALL_PROGRAM} ${WRKSRC}/gag ${STAGEDIR}${PREFIX}/sbin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View file

@ -1,5 +1,5 @@
--- Makefile.orig Mon Jan 10 13:13:12 2000
+++ Makefile Mon May 12 15:15:36 2003
--- Makefile.orig 2000-01-10 21:13:12 UTC
+++ Makefile
@@ -1,7 +1,7 @@
-CFLAGS=
+#CFLAGS=
@ -10,7 +10,7 @@
default:
@clear
@@ -11,7 +11,7 @@
@@ -11,7 +11,7 @@ default:
@echo "to suit your operating system, then use 'make gag'"
gag: gag.o

View file

@ -1,5 +1,5 @@
--- gag.c.orig Mon May 12 15:15:07 2003
+++ gag.c Mon May 12 15:15:09 2003
--- gag.c.orig 2000-01-10 21:03:15 UTC
+++ gag.c
@@ -16,8 +16,7 @@
*
*/
@ -10,7 +10,7 @@
This software should only be used in compliance with all applicable laws and
the policies and preferences of the owners of any networks, systems, or hosts
scanned with the software
@@ -34,8 +33,7 @@
@@ -34,8 +33,7 @@ WASHINGTON BE LIABLE FOR ANY SPECIAL, IN
DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, TORT (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING
OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.