1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/www/anyterm/Makefile
Martin Wilke f9c065abb9 Anyterm provides a terminal emulator on a Web page using Javascript and a
server daemon. The daemon typically runs behind an HTTP proxy; it forks a shell
and communicates with the script using XMLHTTP on port 80 or securely using
SSL. This provides you with shell access to your machine from almost any Web
browser, even when firewalls are in the way.

WWW: http://anyterm.org/

PR:		ports/140740
Submitted by:	Douglas Thrift
2009-11-21 10:18:54 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: anyterm
# Date created: 19 November 2009
# Whom: Douglas Thrift
#
# $FreeBSD$
#
PORTNAME= anyterm
PORTVERSION= 1.1.29
CATEGORIES= www
MASTER_SITES= http://anyterm.org/download/ \
http://apt.douglasthrift.net/files/${PORTNAME}/ \
http://code.douglasthrift.net/files/${PORTNAME}/
EXTRACT_SUFX= .tbz2
MAINTAINER= douglas@douglasthrift.net
COMMENT= A terminal emulator on a Web page
BUILD_DEPENDS= ${LOCALBASE}/include/boost/function.hpp:${PORTSDIR}/devel/boost-libs
MAN1= anytermd.1
USE_RC_SUBR= anytermd
USE_BZIP2= yes
USE_GMAKE= yes
USE_ICONV= yes
ALL_TARGET= default_target
PLIST_FILES= sbin/anytermd
post-patch:
@${REINPLACE_CMD} -e 's|/private/etc/apache2|${FILESDIR}|' \
${WRKSRC}/scripts/mimetype.sh
@${REINPLACE_CMD} -e 's|^CPP_FLAGS=|&-I${LOCALBASE}/include |' \
-e 's|^LINK_FLAGS=|&-L${LOCALBASE}/lib |' ${WRKSRC}/common.mk
@${REINPLACE_CMD} -e 's|^COMPILE_FLAGS=|&-I${LOCALBASE}/include |' \
${WRKSRC}/libpbe/common.mk
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/anytermd ${PREFIX}/sbin/anytermd
@${INSTALL_MAN} ${WRKSRC}/anytermd.1 ${MANPREFIX}/man/man1/anytermd.1
.include <bsd.port.mk>