|
Lines 1-9
Link Here
|
| 1 |
# New ports collection makefile for: abook |
1 |
# Created by: Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw> |
| 2 |
# Date created: June 6th 2000 |
|
|
| 3 |
# Whom: Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw> |
| 4 |
# |
| 5 |
# $FreeBSD: ports/mail/abook/Makefile,v 1.31 2011/10/24 03:33:12 stas Exp $ |
2 |
# $FreeBSD: ports/mail/abook/Makefile,v 1.31 2011/10/24 03:33:12 stas Exp $ |
| 6 |
# |
|
|
| 7 |
|
3 |
|
| 8 |
PORTNAME= abook |
4 |
PORTNAME= abook |
| 9 |
PORTVERSION= 0.5.6 |
5 |
PORTVERSION= 0.5.6 |
|
Lines 14-46
Link Here
|
| 14 |
MAINTAINER= ports@FreeBSD.org |
10 |
MAINTAINER= ports@FreeBSD.org |
| 15 |
COMMENT= An addressbook program with mutt mail client support |
11 |
COMMENT= An addressbook program with mutt mail client support |
| 16 |
|
12 |
|
|
|
13 |
LICENSE= GPLv2 |
| 14 |
|
| 15 |
OPTIONS_DEFINE= NLS DOCS |
| 16 |
OPTIONS_DEFAULT=NLS |
| 17 |
|
| 18 |
USE_NCURSES= yes |
| 19 |
USE_READLINE= yes |
| 17 |
GNU_CONFIGURE= yes |
20 |
GNU_CONFIGURE= yes |
| 18 |
CFLAGS+= -I${LOCALBASE}/include |
21 |
MAKE_JOBS_SAFE= yes |
| 19 |
LDFLAGS+= -L${LOCALBASE}/lib |
|
|
| 20 |
|
22 |
|
| 21 |
.if defined(WITHOUT_NLS) |
23 |
CPPFLAGS+= -I${LOCALBASE}/include |
| 22 |
CONFIGURE_ARGS+=--disable-nls |
24 |
LDFLAGS+= -L${LOCALBASE}/lib |
| 23 |
PLIST_SUB+= NLS="@comment " |
|
|
| 24 |
.else |
| 25 |
USE_GETTEXT= yes |
| 26 |
PLIST_SUB+= NLS="" |
| 27 |
.endif |
| 28 |
|
25 |
|
| 29 |
MAN1= abook.1 |
26 |
MAN1= abook.1 |
| 30 |
MAN5= abookrc.5 |
27 |
MAN5= abookrc.5 |
| 31 |
PORTDOCS= ANNOUNCE AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README \ |
28 |
PORTDOCS= ANNOUNCE AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README \ |
| 32 |
THANKS TODO |
29 |
THANKS TODO |
| 33 |
|
30 |
|
| 34 |
.include <bsd.port.pre.mk> |
31 |
.include <bsd.port.options.mk> |
| 35 |
|
32 |
|
| 36 |
.if exists(${LOCALBASE}/lib/libreadline.so.6) |
33 |
.if ${PORT_OPTIONS:MNLS} |
| 37 |
LIB_DEPENDS+= readline.6:${PORTSDIR}/devel/readline |
34 |
USE_GETTEXT= yes |
|
|
35 |
PLIST_SUB+= NLS="" |
| 36 |
.else |
| 37 |
CONFIGURE_ARGS+=--disable-nls |
| 38 |
PLIST_SUB+= NLS="@comment " |
| 38 |
.endif |
39 |
.endif |
| 39 |
|
40 |
|
| 40 |
post-install: |
41 |
post-install: |
| 41 |
.if !defined(NOPORTDOCS) |
42 |
.if ${PORT_OPTIONS:MDOCS} |
| 42 |
@${MKDIR} ${DOCSDIR} |
43 |
@${MKDIR} ${DOCSDIR} |
| 43 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} |
44 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} |
| 44 |
.endif |
45 |
.endif |
| 45 |
|
46 |
|
| 46 |
.include <bsd.port.post.mk> |
47 |
.include <bsd.port.mk> |