mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
83c12c6e35
Not bumping PORTEPOCH because I'll eventually land those changes, anyway. PR: 199723
44 lines
777 B
Makefile
44 lines
777 B
Makefile
# Created by: Alexander Panyushkin <vsityz@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= hans
|
|
PORTVERSION= 0.4.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= net security
|
|
MASTER_SITES= SF/hanstunnel/source
|
|
|
|
MAINTAINER= vsityz@gmail.com
|
|
COMMENT= Hans makes it possible to tunnel IPv4 through ICMP
|
|
|
|
LICENSE= GPLv3
|
|
|
|
OPTIONS_DEFINE= CLANG
|
|
|
|
CLANG_DESC= Build with Clang instead of GCC
|
|
|
|
OPTIONS_DEFAULT= CLANG
|
|
|
|
PLIST_FILES= bin/hans
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MCLANG}
|
|
.if ${OSVERSION} >= 900033 && exists(/usr/bin/clang)
|
|
CC= clang
|
|
CXX= clang++
|
|
.else
|
|
BUILD_DEPENDS+= clang33:${PORTSDIR}/lang/clang33
|
|
CC= clang33
|
|
CXX= clang++33
|
|
.endif
|
|
.else
|
|
USE_GCC= any
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/hans ${STAGEDIR}${LOCALBASE}/bin
|
|
|
|
.include <bsd.port.mk>
|