Date: Mon, 17 Dec 2012 03:29:29 +0000 (UTC) From: Marcelo Araujo <araujo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309057 - head/mail/abook Message-ID: <201212170329.qBH3TTfS007799@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <tkato432@yahoo.com> 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 <leeym@cae.ce.ntu.edu.tw> -# +# Created by: Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw> # $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 <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.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 <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212170329.qBH3TTfS007799>