aboutsummaryrefslogtreecommitdiff
path: root/www/anyterm/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-11-21 10:18:54 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-11-21 10:18:54 +0000
commitf9c065abb9059f32dd0bdd6b64160eff7e589c80 (patch)
tree12c4170825ecaa46ce7475e13ac4733f2e0af9c7 /www/anyterm/Makefile
parentedf39c3d39b676a87e639111829a9e4393c16137 (diff)
downloadports-f9c065abb9059f32dd0bdd6b64160eff7e589c80.tar.gz
ports-f9c065abb9059f32dd0bdd6b64160eff7e589c80.zip
Notes
Diffstat (limited to 'www/anyterm/Makefile')
-rw-r--r--www/anyterm/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/www/anyterm/Makefile b/www/anyterm/Makefile
new file mode 100644
index 000000000000..5d68ed81c9d8
--- /dev/null
+++ b/www/anyterm/Makefile
@@ -0,0 +1,41 @@
+# 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>