diff options
author | thierry <thierry@FreeBSD.org> | 2005-12-14 06:28:19 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2005-12-14 06:28:19 +0800 |
commit | 46c976e5f0e119c00416a90facac6cc9bf4e8795 (patch) | |
tree | 733a4250579481b138a08aaf68cbb64fc53ad477 | |
parent | 52224442bf85189ba95af70b2bc34be12a88bd05 (diff) | |
download | freebsd-ports-gnome-46c976e5f0e119c00416a90facac6cc9bf4e8795.tar.gz freebsd-ports-gnome-46c976e5f0e119c00416a90facac6cc9bf4e8795.tar.zst freebsd-ports-gnome-46c976e5f0e119c00416a90facac6cc9bf4e8795.zip |
- Upgrade to 0.5.5 and add i18n suport;
Changelog at <http://cvs.sourceforge.net/viewcvs.py/*checkout*/abook/abook/ChangeLog?content-type=text%2Fplain&rev=HEAD>
- Don't install another copy of GPL;
- pet portlint.
-rw-r--r-- | mail/abook/Makefile | 29 | ||||
-rw-r--r-- | mail/abook/distinfo | 6 | ||||
-rw-r--r-- | mail/abook/pkg-plist | 5 |
3 files changed, 25 insertions, 15 deletions
diff --git a/mail/abook/Makefile b/mail/abook/Makefile index ef5d449f5d1a..f26f149ec153 100644 --- a/mail/abook/Makefile +++ b/mail/abook/Makefile @@ -6,7 +6,7 @@ # PORTNAME= abook -PORTVERSION= 0.5.4 +PORTVERSION= 0.5.5 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -14,27 +14,32 @@ 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 +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.else +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.endif + MAN1= abook.1 MAN5= abookrc.5 -PORTDOCS= ANNOUNCE AUTHORS BUGS COPYING ChangeLog FAQ INSTALL NEWS README THANKS TODO -PLIST_FILES= bin/abook +PORTDOCS= ANNOUNCE AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README THANKS TODO + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline +.endif post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} -.endfor + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif .include <bsd.port.post.mk> diff --git a/mail/abook/distinfo b/mail/abook/distinfo index 63cfb5cf7266..cf4df38dff79 100644 --- a/mail/abook/distinfo +++ b/mail/abook/distinfo @@ -1,3 +1,3 @@ -MD5 (abook-0.5.4.tar.gz) = 433b2e849fa458895e82260a354dde95 -SHA256 (abook-0.5.4.tar.gz) = 6a676e0d170a06f873e98db47aeace7d89edcbc4b6c99edabf0068b598afcc6c -SIZE (abook-0.5.4.tar.gz) = 186613 +MD5 (abook-0.5.5.tar.gz) = e9d5f4a8d7d30c96a381851489a53a1d +SHA256 (abook-0.5.5.tar.gz) = b39011cd69b79643fce3b4fe91abe8163f65945a9b348991665582c0c8d7233a +SIZE (abook-0.5.5.tar.gz) = 392689 diff --git a/mail/abook/pkg-plist b/mail/abook/pkg-plist new file mode 100644 index 000000000000..6b1f15121cf9 --- /dev/null +++ b/mail/abook/pkg-plist @@ -0,0 +1,5 @@ +bin/abook +%%NLS%%share/locale/de/LC_MESSAGES/abook.mo +%%NLS%%share/locale/fr/LC_MESSAGES/abook.mo +%%NLS%%share/locale/ja/LC_MESSAGES/abook.mo +%%NLS%%share/locale/sv/LC_MESSAGES/abook.mo |