Review Version and revision usage
[openiked-portable] / Makefile
index 4e5250c3155e7977c037f99df965b2a7d0bc1f52..1d5dcd3639e46cb800e8e523f966e9fa9c703de4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
-# $FreeBSD: head/security/openiked/Makefile david@lapinbilly.eu $
-
-PORTNAME=      openiked-portable
-CATEGORIES=    security net
+PORTNAME=                      openiked-portable
+DISTVERSIONPREFIX=     v
+PORTVERSION=           6.9.0
+CATEGORIES=                    security net
 
 MAINTAINER=    portmgr@FreeBSD.org
 COMMENT=       IKEv2 daemon
@@ -10,15 +10,16 @@ LICENSE=    ISCL
 
 LIB_DEPENDS=   libevent.so:devel/libevent
 
-USES=          cmake
-
+USES=          cmake ssl
 USE_GITHUB=    yes
 GH_ACCOUNT=    openiked
-GH_TAGNAME=            45352722b7320ed97c6abe3bd961bea5acccf43d
-DISTVERSION=   g20210119
 
-USE_RC_SUBR= iked
-USERS=         _iked
-GROUPS=                _iked
+USE_RC_SUBR=   iked
+USERS=                 _iked
+GROUPS=                        _iked
+
+post-install:
+       ${MV} ${STAGEDIR}${PREFIX}/etc/iked.conf \
+           ${STAGEDIR}${PREFIX}/etc/iked.conf.sample
 
 .include <bsd.port.mk>