Date: Sun, 7 Oct 2012 14:15:58 +0000 (UTC) From: Jimmy Olgeni <olgeni@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r305479 - head/x11/eterm Message-ID: <201210071415.q97EFwm3012833@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <murray@freebsd.org> -# +# Created by: Murray Stokely <murray@freebsd.org> # $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 <bsd.port.pre.mk> -.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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210071415.q97EFwm3012833>