diff options
author | ume <ume@FreeBSD.org> | 2013-10-04 23:48:06 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2013-10-04 23:48:06 +0800 |
commit | 71253fdffa1718ca6c758df441f8f8e51a7f5271 (patch) | |
tree | 62d2d63e486da663c4c214f2a7abea811ecf01db /net | |
parent | 7f14ecc2547657f686e391845b16a0d0506eb695 (diff) | |
download | freebsd-ports-gnome-71253fdffa1718ca6c758df441f8f8e51a7f5271.tar.gz freebsd-ports-gnome-71253fdffa1718ca6c758df441f8f8e51a7f5271.tar.zst freebsd-ports-gnome-71253fdffa1718ca6c758df441f8f8e51a7f5271.zip |
- enable stage.
- add LICENCE.
Diffstat (limited to 'net')
-rw-r--r-- | net/dtcpclient/Makefile | 13 | ||||
-rw-r--r-- | net/dtcpclient/files/patch-Makefile | 24 | ||||
-rw-r--r-- | net/dtcpclient/pkg-plist | 1 |
3 files changed, 28 insertions, 10 deletions
diff --git a/net/dtcpclient/Makefile b/net/dtcpclient/Makefile index ec2c8cf24731..49ce8b70b1f8 100644 --- a/net/dtcpclient/Makefile +++ b/net/dtcpclient/Makefile @@ -10,16 +10,9 @@ MASTER_SITES= http://www.mahoroba.org/~ume/ipv6/ \ 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> diff --git a/net/dtcpclient/files/patch-Makefile b/net/dtcpclient/files/patch-Makefile new file mode 100644 index 000000000000..e14021a86c34 --- /dev/null +++ b/net/dtcpclient/files/patch-Makefile @@ -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: diff --git a/net/dtcpclient/pkg-plist b/net/dtcpclient/pkg-plist index 38249fc2b36d..e2bc20cfb7e3 100644 --- a/net/dtcpclient/pkg-plist +++ b/net/dtcpclient/pkg-plist @@ -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 |