aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2013-11-12 22:50:02 +0800
committerdanilo <danilo@FreeBSD.org>2013-11-12 22:50:02 +0800
commit36f8e75d76f192853caf644aa5490d75c623507f (patch)
tree442ac3e6aa2f6bcdebf68c1c544a97a5c1cc6b1e /www
parentf2c1317f63822b4602f29fe8c0323e3cd0ef7c17 (diff)
downloadfreebsd-ports-gnome-36f8e75d76f192853caf644aa5490d75c623507f.tar.gz
freebsd-ports-gnome-36f8e75d76f192853caf644aa5490d75c623507f.tar.zst
freebsd-ports-gnome-36f8e75d76f192853caf644aa5490d75c623507f.zip
- Fix build with iconv in base [1]
- Add STAGE support [1] - Remove the indefinite article from COMMENT - Convert USE_GMAKE to USES PR: ports/183882 Submitted by: Douglas William Thrift <douglas@douglasthrift.net> (maintainer) [1]
Diffstat (limited to 'www')
-rw-r--r--www/anyterm/Makefile18
-rw-r--r--www/anyterm/files/patch-common.mk11
2 files changed, 8 insertions, 21 deletions
diff --git a/www/anyterm/Makefile b/www/anyterm/Makefile
index a6ebcb1f4716..07367ada7897 100644
--- a/www/anyterm/Makefile
+++ b/www/anyterm/Makefile
@@ -1,4 +1,4 @@
-# Created by: Douglas Thrift
+# Created by: Douglas Thrift <douglas@douglasthrift.net>
# $FreeBSD$
PORTNAME= anyterm
@@ -10,32 +10,30 @@ MASTER_SITES= http://anyterm.org/download/ \
EXTRACT_SUFX= .tbz2
MAINTAINER= douglas@douglasthrift.net
-COMMENT= A terminal emulator on a Web page
+COMMENT= Terminal emulator on a Web page
LICENSE= GPLv2
BUILD_DEPENDS= ${LOCALBASE}/include/boost/function.hpp:${PORTSDIR}/devel/boost-libs
-MAN1= anytermd.1
USE_RC_SUBR= anytermd
USE_BZIP2= yes
-USE_GMAKE= yes
-USES= iconv
+USES= gmake iconv
USE_GCC= any
ALL_TARGET= default_target
-PLIST_FILES= sbin/anytermd
+PLIST_FILES= man/man1/anytermd.1.gz \
+ sbin/anytermd
-NO_STAGE= yes
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
+ -e 's|^LINK_FLAGS=|&-L${ICONV_PREFIX}/lib ${ICONV_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
+ @${INSTALL_PROGRAM} ${WRKSRC}/anytermd ${STAGEDIR}${PREFIX}/sbin/anytermd
+ @${INSTALL_MAN} ${WRKSRC}/anytermd.1 ${STAGEDIR}${MANPREFIX}/man/man1/anytermd.1
.include <bsd.port.mk>
diff --git a/www/anyterm/files/patch-common.mk b/www/anyterm/files/patch-common.mk
deleted file mode 100644
index 3456e1f14f9b..000000000000
--- a/www/anyterm/files/patch-common.mk
+++ /dev/null
@@ -1,11 +0,0 @@
---- common.mk.orig 2009-11-20 00:32:31.545770710 -0800
-+++ common.mk 2009-11-20 00:32:51.669545361 -0800
-@@ -51,7 +51,7 @@
- LINK_FLAGS=${GCC_FLAGS} ${DEBUG_FLAGS} \
- -lutil
-
--ifeq (${UNAME_S},OpenBSD)
-+ifeq (${UNAME_S},FreeBSD)
- LINK_FLAGS+=-liconv
- endif
-