Bug 183882 - Update port: www/anyterm Fix build with iconv on 10-BETA/11-CURRENT
Summary: Update port: www/anyterm Fix build with iconv on 10-BETA/11-CURRENT
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Danilo Egea Gondolfo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-12 04:50 UTC by Douglas Thrift
Modified: 2013-11-12 15:00 UTC (History)
1 user (show)

See Also:


Attachments
anyterm.2013-11-12T043247Z.diff (1.99 KB, patch)
2013-11-12 04:50 UTC, Douglas Thrift
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Douglas Thrift 2013-11-12 04:50:00 UTC
Fix build with iconv in base and add STAGE support for www/anyterm.
Comment 1 Douglas Thrift 2013-11-12 05:11:52 UTC
I forgot to include the redports link:

https://redports.org/buildarchive/20131111021401-59728/
-- 
Douglas William Thrift
<douglas@douglasthrift.net>
<http://douglasthrift.net/>
Comment 2 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2013-11-12 13:23:01 UTC
Responsible Changed
From-To: freebsd-ports-bugs->danilo

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-11-12 14:50:10 UTC
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>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2013-11-12 14:50:20 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!