diff options
author | adamw <adamw@FreeBSD.org> | 2014-05-01 09:42:38 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-05-01 09:42:38 +0800 |
commit | 4193822cf8d93383dc8f9f6186609a67b2350005 (patch) | |
tree | 7d2afea24bed5487a0bed70a4ce863d70ee3d368 /security/fiked | |
parent | ad2f39a8b4fdf5d89647810e8a01030f3f768456 (diff) | |
download | freebsd-ports-gnome-4193822cf8d93383dc8f9f6186609a67b2350005.tar.gz freebsd-ports-gnome-4193822cf8d93383dc8f9f6186609a67b2350005.tar.zst freebsd-ports-gnome-4193822cf8d93383dc8f9f6186609a67b2350005.zip |
STAGE support, and general cleanups. Some of the changes are a
bit more aggressive, but at this point, if I'm staging your port,
you've likely stopped caring what's done to it.
Diffstat (limited to 'security/fiked')
-rw-r--r-- | security/fiked/Makefile | 29 |
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> |