aboutsummaryrefslogtreecommitdiff
path: root/security/dropbear
diff options
context:
space:
mode:
authorAlex Kozlov <ak@FreeBSD.org>2012-06-25 04:15:50 +0000
committerAlex Kozlov <ak@FreeBSD.org>2012-06-25 04:15:50 +0000
commit61ccb75449e934ce15c362e836abe764660824ab (patch)
tree58e4fc161366f0687e7bcdae86fd5ab3e027ca0c /security/dropbear
parent092a8d14ba5861f91eb4a45e1d86172975728463 (diff)
downloadports-61ccb75449e934ce15c362e836abe764660824ab.tar.gz
ports-61ccb75449e934ce15c362e836abe764660824ab.zip
- Convert to optionsNG
- Pet portlint - Remove pkg-plist from security/dropbear Approved by: eadler (mentor)
Notes
Notes: svn path=/head/; revision=299928
Diffstat (limited to 'security/dropbear')
-rw-r--r--security/dropbear/Makefile18
-rw-r--r--security/dropbear/pkg-plist5
2 files changed, 12 insertions, 11 deletions
diff --git a/security/dropbear/Makefile b/security/dropbear/Makefile
index abc9aa0c4295..ce4f301b972c 100644
--- a/security/dropbear/Makefile
+++ b/security/dropbear/Makefile
@@ -17,13 +17,20 @@ GNU_CONFIGURE= YES
USE_BZIP2= YES
USE_GMAKE= YES
-OPTIONS= STATIC "Build statically" off
-
USE_RC_SUBR= ${PORTNAME}
-.include <bsd.port.pre.mk>
+PLIST_FILES= bin/dbclient \
+ bin/dropbearkey \
+ bin/dropbearconvert \
+ sbin/dropbear
+
+PLIST_DIRSTRY= etc/dropbear
+
+OPTIONS_DEFINE= STATIC
+
+.include <bsd.port.options.mk>
-.if defined(WITH_STATIC)
+.if ${PORT_OPTIONS:MSTATIC}
LDFLAGS+= -static
.endif
@@ -36,6 +43,5 @@ post-patch:
post-install:
@${MKDIR} ${PREFIX}/etc/dropbear
- @${ECHO_MSG} ""
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/security/dropbear/pkg-plist b/security/dropbear/pkg-plist
deleted file mode 100644
index 3e3a2088830c..000000000000
--- a/security/dropbear/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/dbclient
-bin/dropbearkey
-bin/dropbearconvert
-sbin/dropbear
-@dirrmtry etc/dropbear