aboutsummaryrefslogtreecommitdiff
path: root/security/fiked
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-05-01 01:42:38 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-05-01 01:42:38 +0000
commit4ca54cc2f2b045a73d2db7ca2fe2d76bb8847448 (patch)
tree7d2afea24bed5487a0bed70a4ce863d70ee3d368 /security/fiked
parentb3b7323d8ef412f19e96f476f048c4f46aa36bab (diff)
downloadports-4ca54cc2f2b045a73d2db7ca2fe2d76bb8847448.tar.gz
ports-4ca54cc2f2b045a73d2db7ca2fe2d76bb8847448.zip
Notes
Diffstat (limited to 'security/fiked')
-rw-r--r--security/fiked/Makefile29
1 files changed, 14 insertions, 15 deletions
diff --git a/security/fiked/Makefile b/security/fiked/Makefile
index 4ed5f0d6d84a..1e30472a68f8 100644
--- a/security/fiked/Makefile
+++ b/security/fiked/Makefile
@@ -10,32 +10,31 @@ MASTER_SITES= http://mirror.roe.ch/dist/fiked/
MAINTAINER= ports@FreeBSD.org
COMMENT= Fake IKE PSK+XAUTH daemon based on VPNC
-LIB_DEPENDS= gcrypt:${PORTSDIR}/security/libgcrypt
-.if !defined(WITHOUT_LIBNET)
-LIB_DEPENDS+= net:${PORTSDIR}/net/libnet
-.endif
+LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt
-USE_BZIP2= yes
-USE_GMAKE= yes
+USES= tar:bzip2 gmake
+
+OPTIONS_DEFINE= LIBNET
+OPTIONS_DEFAULT=LIBNET
+LIBNET_DESC= Build with libnet support
+
+LIBNET_LIB_DEPENDS= libnet.so:${PORTSDIR}/net/libnet
MAKEFILE= GNUmakefile
-PLIST_FILES= bin/fiked
-MAN1= fiked.1
+PLIST_FILES= bin/fiked man/man1/fiked.1.gz
PORTDOCS= README NEWS
+PORT_OPTIONS= DOCS
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|=-g|=|' ${WRKSRC}/${MAKEFILE}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/fiked ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/fiked.1 ${PREFIX}/man/man1/
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/fiked ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/fiked.1 ${STAGEDIR}${PREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>