aboutsummaryrefslogtreecommitdiffstats
path: root/mail/abook/Makefile
blob: ef5d449f5d1ada7431a77ae4a17d7226fe6894d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:    abook
# Date created:             June 6th 2000
# Whom:                     Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=   abook
PORTVERSION=    0.5.4
CATEGORIES= mail
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    An addressbook program with mutt mail client support

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
LIB_DEPENDS=    readline.5:${PORTSDIR}/devel/readline
.endif

GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CFLAGS+=    -I${LOCALBASE}/include

MAN1=       abook.1
MAN5=       abookrc.5
PORTDOCS=   ANNOUNCE AUTHORS BUGS COPYING ChangeLog FAQ INSTALL NEWS README THANKS TODO
PLIST_FILES=    bin/abook

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.post.mk>