summaryrefslogtreecommitdiff
path: root/net/tayga/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/tayga/Makefile')
-rw-r--r--net/tayga/Makefile25
1 files changed, 18 insertions, 7 deletions
diff --git a/net/tayga/Makefile b/net/tayga/Makefile
index 02a89ae1d446..8b2cb4e6c453 100644
--- a/net/tayga/Makefile
+++ b/net/tayga/Makefile
@@ -1,17 +1,28 @@
PORTNAME= tayga
-DISTVERSION= 0.9.2
-PORTREVISION= 2
+DISTVERSION= 0.9.5
CATEGORIES= net
-MASTER_SITES= http://www.litech.org/tayga/
+
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/
+PATCHFILES= 49f64b0.patch:-p1 \
+ 32cd0a7.patch:-p1 \
+ b62e33f.patch:-p1 \
+ 6c298f2.patch:-p1
MAINTAINER= franco@opnsense.org
COMMENT= Userland stateless NAT64 daemon
-WWW= http://www.litech.org/tayga/
+WWW= https://github.com/apalrd/tayga/
LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/COPYING
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= gmake
+USE_GITHUB= yes
+GH_ACCOUNT= apalrd
+MAKE_ENV= RELEASE=${DISTVERSION}
+CFLAGS+= -DTAYGA_CONF_PATH='\"${PREFIX}/etc/tayga.conf\"'
-USES= gmake tar:bzip2
-GNU_CONFIGURE= yes
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/tayga
+ ${INSTALL_DATA} ${WRKSRC}/tayga.conf.example ${STAGEDIR}${PREFIX}/etc
.include <bsd.port.mk>