1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/net/hanstunnel/Makefile
Jan Beich d4b48afd79 net/hanstunnel: update to 0.4.4 [1] and improve
- Revert r326014 as nothing to substitute in pkg-message [1]
- Clarify server works only on Linux [1]
- Unbreak build on DragonFly [2]
- Drop poorly maintained CLANG option [3]
- Simplify patching via MAKE_ARGS
- Respect LOCALBASE != PREFIX
- Pet portlint (makepatch)
- Clarify LICENSE

PR:		195313
Reported by:	DPorts [2]
Requested by:	many [3]
Submitted by:	vsityz@gmail.com (maintainer [1], based on)
Reviewed by:	marino [2]
Approved by:	maintainer timeout (~3 weeks)
2015-05-13 16:14:46 +00:00

32 lines
858 B
Makefile

# Created by: Alexander Panyushkin <vsityz@gmail.com>
# $FreeBSD$
PORTNAME= hans
PORTVERSION= 0.4.4
CATEGORIES= net security
MASTER_SITES= SF/hanstunnel/source
MAINTAINER= vsityz@gmail.com
COMMENT= Hans makes it possible to tunnel IPv4 through ICMP
LICENSE= FPL GPLv3 # or any later version
LICENSE_COMB= multi
LICENSE_NAME_FPL=Freeware Public License
LICENSE_FILE_FPL=${WRKSRC}/src/sha1_license.txt
LICENSE_PERMS_FPL=dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= dos2unix
DOS2UNIX_FILES= ${LICENSE_FILE_FPL}
MAKE_ARGS= GCC="${CC}" GPP="${CXX}" \
CFLAGS="${CFLAGS} -c" LDFLAGS="${LDFLAGS}" \
TUN_DEV_FILE="src/tun_dev_freebsd.c"
PLIST_FILES= bin/hans
# Remove CRs before ask-license to fix formatting in dialog(1)
post-extract: dos2unix
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hans ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>