diff options
author | pawel <pawel@FreeBSD.org> | 2014-06-01 22:39:32 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-06-01 22:39:32 +0800 |
commit | 31f28abc7d8a38cb3fc790c82d114b526c98e62a (patch) | |
tree | cf65f186a57522085496eb1399492b5884ba4f9f /mail | |
parent | 2d1e975d826b1cece2868a41d296d1c5ae649663 (diff) | |
download | freebsd-ports-graphics-31f28abc7d8a38cb3fc790c82d114b526c98e62a.tar.gz freebsd-ports-graphics-31f28abc7d8a38cb3fc790c82d114b526c98e62a.tar.zst freebsd-ports-graphics-31f28abc7d8a38cb3fc790c82d114b526c98e62a.zip |
- Add staging support
- Remove leading article from COMMENT
- Use options subs, helpers
Diffstat (limited to 'mail')
-rw-r--r-- | mail/abook/Makefile | 25 | ||||
-rw-r--r-- | mail/abook/pkg-plist | 2 |
2 files changed, 9 insertions, 18 deletions
diff --git a/mail/abook/Makefile b/mail/abook/Makefile index 1a866941680..511e8ac88bd 100644 --- a/mail/abook/Makefile +++ b/mail/abook/Makefile @@ -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> diff --git a/mail/abook/pkg-plist b/mail/abook/pkg-plist index 6b1f15121cf..16aeac9a9e5 100644 --- a/mail/abook/pkg-plist +++ b/mail/abook/pkg-plist @@ -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 |