1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- enable stage.

- add LICENCE.
This commit is contained in:
Hajimu UMEMOTO 2013-10-04 15:48:06 +00:00
parent 11050b9333
commit 8fcd7806a5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329331
3 changed files with 28 additions and 10 deletions

View File

@ -10,16 +10,9 @@ MASTER_SITES= http://www.mahoroba.org/~ume/ipv6/ \
MAINTAINER= ume@FreeBSD.org
COMMENT= Dynamic Tunnel Configuration Protocol client
LICENSE= BSD
USE_RC_SUBR= dtcpclient
MAN8= dtcpclient.8
MANCOMPRESSED= yes
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
NEED_ROOT= yes
.include <bsd.port.mk>

View File

@ -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:

View File

@ -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