From owner-svn-ports-all@FreeBSD.ORG Mon Dec 17 03:29:30 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3109388F; Mon, 17 Dec 2012 03:29:30 +0000 (UTC) (envelope-from araujo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id EF4A98FC14; Mon, 17 Dec 2012 03:29:29 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBH3TTRI007800; Mon, 17 Dec 2012 03:29:29 GMT (envelope-from araujo@svn.freebsd.org) Received: (from araujo@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBH3TTfS007799; Mon, 17 Dec 2012 03:29:29 GMT (envelope-from araujo@svn.freebsd.org) Message-Id: <201212170329.qBH3TTfS007799@svn.freebsd.org> From: Marcelo Araujo Date: Mon, 17 Dec 2012 03:29:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309057 - head/mail/abook X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 03:29:30 -0000 Author: araujo Date: Mon Dec 17 03:29:29 2012 New Revision: 309057 URL: http://svnweb.freebsd.org/changeset/ports/309057 Log: - Support USE_READLINE. - Support USE_NCURSES. - Add LICENSE. - Add MAKE_JOBS_SAFE. - Trim header. PR: ports/172029 Submitted by: KATO Tsuguru Modified: head/mail/abook/Makefile (contents, props changed) Modified: head/mail/abook/Makefile ============================================================================== --- head/mail/abook/Makefile Mon Dec 17 02:39:05 2012 (r309056) +++ head/mail/abook/Makefile Mon Dec 17 03:29:29 2012 (r309057) @@ -1,9 +1,5 @@ -# New ports collection makefile for: abook -# Date created: June 6th 2000 -# Whom: Yen-Ming Lee -# +# Created by: Yen-Ming Lee # $FreeBSD$ -# PORTNAME= abook PORTVERSION= 0.5.6 @@ -14,33 +10,37 @@ MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= An addressbook program with mutt mail client support +LICENSE= GPLv2 + +OPTIONS_DEFINE= NLS DOCS + +USE_NCURSES= yes +USE_READLINE= yes GNU_CONFIGURE= yes -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +MAKE_JOBS_SAFE= yes -.if defined(WITHOUT_NLS) -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.else -USE_GETTEXT= yes -PLIST_SUB+= NLS="" -.endif +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib MAN1= abook.1 MAN5= abookrc.5 PORTDOCS= ANNOUNCE AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README \ THANKS TODO -.include +.include -.if exists(${LOCALBASE}/lib/libreadline.so.6) -LIB_DEPENDS+= readline.6:${PORTSDIR}/devel/readline +.if ${PORT_OPTIONS:MNLS} +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " .endif post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif -.include +.include