Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2013 14:50:03 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333575 - in head/www/anyterm: . files
Message-ID:  <201311121450.rACEo3mb075669@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Tue Nov 12 14:50:02 2013
New Revision: 333575
URL: http://svnweb.freebsd.org/changeset/ports/333575

Log:
  - 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]

Deleted:
  head/www/anyterm/files/patch-common.mk
Modified:
  head/www/anyterm/Makefile

Modified: head/www/anyterm/Makefile
==============================================================================
--- head/www/anyterm/Makefile	Tue Nov 12 14:47:09 2013	(r333574)
+++ head/www/anyterm/Makefile	Tue Nov 12 14:50:02 2013	(r333575)
@@ -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/downloa
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311121450.rACEo3mb075669>