aboutsummaryrefslogtreecommitdiffstats
path: root/net/dtcp
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2013-10-05 00:14:27 +0800
committerume <ume@FreeBSD.org>2013-10-05 00:14:27 +0800
commit41af9cbbbcf56cf1b8ebd27700c3448831902999 (patch)
tree4894677169c443024d1cb8f93959ed2b4c591dfa /net/dtcp
parent31e6bf0def2acf22f5280446450fd5232ef2a523 (diff)
downloadfreebsd-ports-gnome-41af9cbbbcf56cf1b8ebd27700c3448831902999.tar.gz
freebsd-ports-gnome-41af9cbbbcf56cf1b8ebd27700c3448831902999.tar.zst
freebsd-ports-gnome-41af9cbbbcf56cf1b8ebd27700c3448831902999.zip
- enable stage.
- add LICENCE.
Diffstat (limited to 'net/dtcp')
-rw-r--r--net/dtcp/Makefile19
-rw-r--r--net/dtcp/files/patch-Makefile19
2 files changed, 25 insertions, 13 deletions
diff --git a/net/dtcp/Makefile b/net/dtcp/Makefile
index 0db625911c60..818856d04474 100644
--- a/net/dtcp/Makefile
+++ b/net/dtcp/Makefile
@@ -10,28 +10,21 @@ MASTER_SITES= http://www.mahoroba.org/~ume/ipv6/ \
MAINTAINER= ume@FreeBSD.org
COMMENT= Dynamic Tunnel Configuration Protocol daemon and client
+LICENSE= BSD
+
.if defined(WITH_QPOPAUTH)
RUN_DEPENDS= qpopauth:${PORTSDIR}/mail/qpopper
.endif
USE_RC_SUBR= dtcpc dtcps
USE_RUBY= yes
+NEED_ROOT= yes
MAKE_ENV+= RUBY=${RUBY}
-MAN8= dtcpauth.8 dtcpc.8 dtcps.8
-MANCOMPRESSED= yes
-
SUB_LIST+= RUBY=${RUBY}
-PLIST_FILES= sbin/dtcpauth sbin/dtcpc sbin/dtcps
-
-NO_STAGE= yes
-pre-install:
- @for script in ${USE_RC_SUBR}; do \
- if [ -f ${PREFIX}/etc/rc.d/$${script} ]; then \
- ${ECHO_MSG} "Remove old ${PREFIX}/etc/rc.d/$${script} before install."; \
- exit 1; \
- fi; \
- done
+PLIST_FILES= sbin/dtcpauth sbin/dtcpc sbin/dtcps \
+ man/man8/dtcpauth.8.gz man/man8/dtcpc.8.gz \
+ man/man8/dtcps.8.gz
.include <bsd.port.mk>
diff --git a/net/dtcp/files/patch-Makefile b/net/dtcp/files/patch-Makefile
new file mode 100644
index 000000000000..d5559b9f4a01
--- /dev/null
+++ b/net/dtcp/files/patch-Makefile
@@ -0,0 +1,19 @@
+Index: Makefile
+diff -u Makefile.orig Makefile
+--- Makefile.orig 2013-06-02 23:07:08.000000000 +0900
++++ Makefile 2013-10-05 01:00:09.143956067 +0900
+@@ -94,11 +94,11 @@
+
+ realinstall:
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 555 dtcps \
+- ${BINDIR}/dtcps
++ ${DESTDIR}${BINDIR}/dtcps
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 555 dtcpc \
+- ${BINDIR}/dtcpc
++ ${DESTDIR}${BINDIR}/dtcpc
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 555 dtcpauth \
+- ${BINDIR}/dtcpauth
++ ${DESTDIR}${BINDIR}/dtcpauth
+
+ dist:
+ @data=`date +%Y%m%d`; \