Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2014 21:01:15 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338931 - head/x11/eterm
Message-ID:  <201401062101.s06L1F7t040878@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Jan  6 21:01:14 2014
New Revision: 338931
URL: http://svnweb.freebsd.org/changeset/ports/338931

Log:
  Support stage
  Set the bin/Eterm mode via plist
  Only propose the MMX option on i386

Modified:
  head/x11/eterm/Makefile
  head/x11/eterm/pkg-plist

Modified: head/x11/eterm/Makefile
==============================================================================
--- head/x11/eterm/Makefile	Mon Jan  6 20:55:15 2014	(r338930)
+++ head/x11/eterm/Makefile	Mon Jan  6 21:01:14 2014	(r338931)
@@ -12,7 +12,7 @@ MAINTAINER?=	olgeni@FreeBSD.org
 COMMENT?=	X11 terminal emulator based on rxvt/xterm
 
 BUILD_DEPENDS=	man2html:${PORTSDIR}/textproc/man2html
-LIB_DEPENDS=	ast:${PORTSDIR}/devel/libast
+LIB_DEPENDS=	libast.so:${PORTSDIR}/devel/libast
 
 USE_AUTOTOOLS=	libtool
 USE_LDCONFIG=	yes
@@ -24,30 +24,20 @@ CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 USE_CSTD=	gnu89
 
-OPTIONS_DEFINE=	MMX
+OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE_i386=	MMX
 
 USE_XORG=	x11 xt
 USES=		iconv
 USE_EFL=	imlib2
-
-MAN1=		Eterm.1
-
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MMMX} && (${ARCH} == "i386")
-CONFIGURE_ARGS+=--enable-mmx
-.endif
+MMX_CONFIGURE_ARGS=	--enable-mmx
 
 post-patch:
 	@${FIND} ${WRKSRC} -name '*.orig' -delete
 
 post-install:
-	@${CHMOD} 4711 ${PREFIX}/bin/Eterm
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/ReleaseNotes ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/doc/Eterm_reference.html ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/ReleaseNotes ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/Eterm_reference.html ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/x11/eterm/pkg-plist
==============================================================================
--- head/x11/eterm/pkg-plist	Mon Jan  6 20:55:15 2014	(r338930)
+++ head/x11/eterm/pkg-plist	Mon Jan  6 21:01:14 2014	(r338931)
@@ -2,7 +2,9 @@ bin/Esetroot
 bin/Etbg
 bin/Etbg_update_list
 bin/Etcolors
+@mode 4771
 bin/Eterm
+@mode
 bin/Etsearch
 bin/Ettable
 bin/kEsetroot
@@ -10,6 +12,7 @@ lib/libEterm.a
 lib/libEterm.la
 lib/libEterm.so
 lib/libEterm.so.9
+man/man1/Eterm.1.gz
 share/Eterm/gdb.scr
 share/Eterm/pix/bar_horizontal_1.png
 share/Eterm/pix/bar_horizontal_2.png



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