mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
46 lines
837 B
Makefile
46 lines
837 B
Makefile
# Created by: Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
|
|
# $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
|
|
|
|
LICENSE= GPLv2
|
|
|
|
OPTIONS_DEFINE= NLS DOCS
|
|
|
|
USES= ncurses readline
|
|
GNU_CONFIGURE= yes
|
|
|
|
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
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
USES+= gettext
|
|
PLIST_SUB+= NLS=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
PLIST_SUB+= NLS="@comment "
|
|
.endif
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|