From owner-svn-ports-head@FreeBSD.ORG Sun Oct 7 14:15:58 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CD14B106566C; Sun, 7 Oct 2012 14:15:58 +0000 (UTC) (envelope-from olgeni@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B6DB38FC08; Sun, 7 Oct 2012 14:15:58 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q97EFwnI012835; Sun, 7 Oct 2012 14:15:58 GMT (envelope-from olgeni@svn.freebsd.org) Received: (from olgeni@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q97EFwm3012833; Sun, 7 Oct 2012 14:15:58 GMT (envelope-from olgeni@svn.freebsd.org) Message-Id: <201210071415.q97EFwm3012833@svn.freebsd.org> From: Jimmy Olgeni Date: Sun, 7 Oct 2012 14:15:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r305479 - head/x11/eterm X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Oct 2012 14:15:58 -0000 Author: olgeni Date: Sun Oct 7 14:15:58 2012 New Revision: 305479 URL: http://svn.freebsd.org/changeset/ports/305479 Log: Convert to OptionsNG and pet portlint. Modified: head/x11/eterm/Makefile (contents, props changed) Modified: head/x11/eterm/Makefile ============================================================================== --- head/x11/eterm/Makefile Sun Oct 7 14:04:09 2012 (r305478) +++ head/x11/eterm/Makefile Sun Oct 7 14:15:58 2012 (r305479) @@ -1,9 +1,5 @@ -# New ports collection makefile for: eterm -# Date created: 24 November 1997 -# Whom: Murray Stokely -# +# Created by: Murray Stokely # $FreeBSD$ -# PORTNAME= eterm PORTVERSION= 0.9.6 @@ -16,7 +12,7 @@ MAINTAINER?= olgeni@FreeBSD.org COMMENT?= X11 terminal emulator based on rxvt/xterm BUILD_DEPENDS= man2html:${PORTSDIR}/textproc/man2html -LIB_DEPENDS= ast.2:${PORTSDIR}/devel/libast +LIB_DEPENDS= ast:${PORTSDIR}/devel/libast USE_AUTOTOOLS= libtool USE_LDCONFIG= yes @@ -26,7 +22,9 @@ CONFIGURE_ARGS?=--enable-trans --enable- --enable-multi-charset CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -OPTIONS= MMX "With MMX instruction set" off + +OPTIONS_DEFINE= MMX + USE_XORG= x11 xt USE_ICONV= yes USE_EFL= imlib2 @@ -35,16 +33,16 @@ MAN1= Eterm.1 .include -.if defined(WITH_MMX) && (${ARCH} == "i386") +.if ${PORT_OPTIONS:MMMX} && (${ARCH} == "i386") CONFIGURE_ARGS+=--enable-mmx .endif post-patch: - @${FIND} ${WRKSRC} -name '*.orig' | ${XARGS} ${RM} + @${FIND} ${WRKSRC} -name '*.orig' -delete post-install: @${CHMOD} 4711 ${PREFIX}/bin/Eterm -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/ReleaseNotes ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/doc/Eterm_reference.html ${DOCSDIR}