# New ports collection makefile for: abook # Date created: June 6th 2000 # Whom: Yen-Ming Lee # # $FreeBSD$ # PORTNAME= abook PORTVERSION= 0.5.6 PORTREVISION= 4 CATEGORIES= mail MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= An addressbook program with mutt mail client support GNU_CONFIGURE= yes CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .if defined(WITHOUT_NLS) CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .else USE_GETTEXT= yes PLIST_SUB+= NLS="" .endif MAN1= abook.1 MAN5= abookrc.5 PORTDOCS= ANNOUNCE AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README \ THANKS TODO .include .if exists(${LOCALBASE}/lib/libreadline.so.6) LIB_DEPENDS+= readline.6:${PORTSDIR}/devel/readline .endif post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif .include