Makefile 1.09 KB
Newer Older
sperber's avatar
sperber committed
1
# Created by: Douglas Thrift
2
3
4
5
6
7
8
9
10
11
12
13
14
# $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

sunpoet's avatar
sunpoet committed
15
16
LICENSE=	GPLv2

sperber's avatar
sperber committed
17
18
BUILD_DEPENDS=	${LOCALBASE}/include/boost/function.hpp:${PORTSDIR}/devel/boost-libs

19
20
21
22
MAN1=		anytermd.1
USE_RC_SUBR=	anytermd
USE_BZIP2=	yes
USE_GMAKE=	yes
mva's avatar
mva committed
23
USES=		iconv
sperber's avatar
sperber committed
24
USE_GCC=	any
25
26
27
ALL_TARGET=	default_target
PLIST_FILES=	sbin/anytermd

28
NO_STAGE=	yes
29
30
31
32
33
34
35
36
37
38
39
40
41
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>