mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Add staging support
- Remove leading article from COMMENT - Use options subs, helpers
This commit is contained in:
parent
70c9af17a6
commit
d876dea414
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356128
@ -8,38 +8,27 @@ CATEGORIES= mail
|
||||
MASTER_SITES= SF
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= An addressbook program with mutt mail client support
|
||||
COMMENT= 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>
|
||||
OPTIONS_DEFINE= NLS DOCS
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USES+= gettext
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
NLS_CONFIGURE_ENABLE= nls
|
||||
NLS_USES= gettext
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,6 @@
|
||||
bin/abook
|
||||
man/man1/abook.1.gz
|
||||
man/man5/abookrc.5.gz
|
||||
%%NLS%%share/locale/de/LC_MESSAGES/abook.mo
|
||||
%%NLS%%share/locale/fr/LC_MESSAGES/abook.mo
|
||||
%%NLS%%share/locale/ja/LC_MESSAGES/abook.mo
|
||||
|
Loading…
Reference in New Issue
Block a user