Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Oct 2013 15:48:06 +0000 (UTC)
From:      Hajimu UMEMOTO <ume@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r329331 - in head/net/dtcpclient: . files
Message-ID:  <201310041548.r94Fm6W0059093@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ume
Date: Fri Oct  4 15:48:06 2013
New Revision: 329331
URL: http://svnweb.freebsd.org/changeset/ports/329331

Log:
  - enable stage.
  - add LICENCE.

Added:
  head/net/dtcpclient/files/patch-Makefile   (contents, props changed)
Modified:
  head/net/dtcpclient/Makefile
  head/net/dtcpclient/pkg-plist

Modified: head/net/dtcpclient/Makefile
==============================================================================
--- head/net/dtcpclient/Makefile	Fri Oct  4 15:47:38 2013	(r329330)
+++ head/net/dtcpclient/Makefile	Fri Oct  4 15:48:06 2013	(r329331)
@@ -10,16 +10,9 @@ MASTER_SITES=	http://www.mahoroba.org/~u
 MAINTAINER=	ume@FreeBSD.org
 COMMENT=	Dynamic Tunnel Configuration Protocol client
 
-USE_RC_SUBR=	dtcpclient
-
-MAN8=		dtcpclient.8
-MANCOMPRESSED=	yes
+LICENSE=	BSD
 
-NO_STAGE=	yes
-pre-install:
-	@if [ -f ${PREFIX}/etc/rc.d/${USE_RC_SUBR} ]; then \
-		${ECHO_CMD} "Remove old ${PREFIX}/etc/rc.d/${USE_RC_SUBR} before install."; \
-		exit 1; \
-	fi
+USE_RC_SUBR=	dtcpclient
+NEED_ROOT=	yes
 
 .include <bsd.port.mk>

Added: head/net/dtcpclient/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/dtcpclient/files/patch-Makefile	Fri Oct  4 15:48:06 2013	(r329331)
@@ -0,0 +1,24 @@
+Index: Makefile
+diff -u Makefile.orig Makefile
+--- Makefile.orig	2005-12-28 16:29:24.000000000 +0900
++++ Makefile	2013-10-05 00:28:46.953959748 +0900
+@@ -58,12 +58,14 @@
+ 
+ realinstall:
+ 	$(INSTALL) -s $(COPY) -o $(BINOWN) -g $(BINGRP) -m 555 \
+-		dtcpclient $(BINDIR)/dtcpclient
+-	$(INSTALL) -d $(EXAMPLESDIR)
++		dtcpclient $(DESTDIR)$(BINDIR)/dtcpclient
++	$(INSTALL) -d $(DESTDIR)$(EXAMPLESDIR)
+ 	$(INSTALL) $(COPY) -o $(BINOWN) -g $(BINGRP) -m 555 \
+-		dtcpclient.script $(EXAMPLESDIR)/dtcpclient.script
+-	if [ ! -f $(SCRIPTSDIR)/dtcpclient.script ]; then \
+-		cp -p $(EXAMPLESDIR)/dtcpclient.script $(SCRIPTSDIR)/; \
++		 dtcpclient.script \
++		$(DESTDIR)$(EXAMPLESDIR)/dtcpclient.script
++	if [ ! -f $(DESTDIR)$(SCRIPTSDIR)/dtcpclient.script ]; then \
++		cp -p $(DESTDIR)$(EXAMPLESDIR)/dtcpclient.script \
++			$(DESTDIR)$(SCRIPTSDIR)/; \
+ 	fi
+ 
+ dist:

Modified: head/net/dtcpclient/pkg-plist
==============================================================================
--- head/net/dtcpclient/pkg-plist	Fri Oct  4 15:47:38 2013	(r329330)
+++ head/net/dtcpclient/pkg-plist	Fri Oct  4 15:48:06 2013	(r329331)
@@ -1,3 +1,4 @@
+man/man8/dtcpclient.8.gz
 sbin/dtcpclient
 @unexec if cmp -s %D/etc/dtcpclient.script %D/%%EXAMPLESDIR%%/dtcpclient.script; then rm -f %D/etc/dtcpclient.script; fi
 %%EXAMPLESDIR%%/dtcpclient.script



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310041548.r94Fm6W0059093>