1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

- enable stage.

- add LICENCE.
This commit is contained in:
Hajimu UMEMOTO 2013-10-04 16:14:27 +00:00
parent 9896fa8a93
commit 7a61573c03
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329334
2 changed files with 25 additions and 13 deletions

View File

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

View File

@ -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`; \