diff options
author | Makoto Matsushita <matusita@FreeBSD.org> | 2004-04-15 13:21:02 +0000 |
---|---|---|
committer | Makoto Matsushita <matusita@FreeBSD.org> | 2004-04-15 13:21:02 +0000 |
commit | 0c035503c7d1c0b12d582cb1e129dd4687b7f606 (patch) | |
tree | 39ed9456b874084cc2624727e590cd0b133fd6ae /net/jwhois | |
parent | 00c8b6363a7a4a86386e02b8bbba960c99bf8c71 (diff) | |
download | ports-0c035503c7d1c0b12d582cb1e129dd4687b7f606.tar.gz ports-0c035503c7d1c0b12d582cb1e129dd4687b7f606.zip |
Notes
Diffstat (limited to 'net/jwhois')
-rw-r--r-- | net/jwhois/Makefile | 11 | ||||
-rw-r--r-- | net/jwhois/pkg-plist | 25 |
2 files changed, 21 insertions, 15 deletions
diff --git a/net/jwhois/Makefile b/net/jwhois/Makefile index 200307815f72..69729c5c2137 100644 --- a/net/jwhois/Makefile +++ b/net/jwhois/Makefile @@ -7,7 +7,7 @@ PORTNAME= jwhois PORTVERSION= 3.2.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= jwhois @@ -16,15 +16,22 @@ MAINTAINER= matusita@FreeBSD.org COMMENT=An improved WHOIS client capable of selecting server to query GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --localstatedir=${PREFIX}/var/jwhois USE_GETTEXT= yes USE_GMAKE= yes CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib" +CONFIGURE_ARGS= --localstatedir=${PREFIX}/var/jwhois +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB= NLS="@comment " +.else +PLIST_SUB= NLS="" +.endif INSTALL_TARGET= install-strip MANLANG= "" sv MAN1= jwhois.1 +INFO= jwhois post-install: ${MKDIR} ${PREFIX}/var/jwhois diff --git a/net/jwhois/pkg-plist b/net/jwhois/pkg-plist index e2e5fe804ee0..7c77a4c73d72 100644 --- a/net/jwhois/pkg-plist +++ b/net/jwhois/pkg-plist @@ -2,19 +2,18 @@ bin/jwhois @unexec if cmp -s %D/etc/jwhois.conf %D/etc/jwhois.conf.sample; then rm -f %D/etc/jwhois.conf; fi etc/jwhois.conf.sample @exec if [ ! -f %B/jwhois.conf ]; then cp %B/%f %B/jwhois.conf; fi -@unexec install-info --delete %D/info/jwhois.info %D/info/dir -info/jwhois.info -@exec install-info %D/info/jwhois.info %D/info/dir -share/locale/es/LC_MESSAGES/jwhois.mo -share/locale/fr/LC_MESSAGES/jwhois.mo -share/locale/id/LC_MESSAGES/jwhois.mo -share/locale/ru/LC_MESSAGES/jwhois.mo -share/locale/sv/LC_MESSAGES/jwhois.mo -share/locale/tr/LC_MESSAGES/jwhois.mo -share/locale/zh_TW/LC_MESSAGES/jwhois.mo -@unexec rmdir %D/share/locale/*/LC_MESSAGES 2>/dev/null || true -@unexec rmdir %D/share/locale/* 2>/dev/null || true -@unexec rmdir %D/share/locale 2>/dev/null || true +%%NLS%%share/locale/es/LC_MESSAGES/jwhois.mo +%%NLS%%share/locale/fr/LC_MESSAGES/jwhois.mo +%%NLS%%share/locale/hu/LC_MESSAGES/jwhois.mo +%%NLS%%share/locale/id/LC_MESSAGES/jwhois.mo +%%NLS%%share/locale/it/LC_MESSAGES/jwhois.mo +%%NLS%%share/locale/nl/LC_MESSAGES/jwhois.mo +%%NLS%%share/locale/pl/LC_MESSAGES/jwhois.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/jwhois.mo +%%NLS%%share/locale/ru/LC_MESSAGES/jwhois.mo +%%NLS%%share/locale/sv/LC_MESSAGES/jwhois.mo +%%NLS%%share/locale/tr/LC_MESSAGES/jwhois.mo +%%NLS%%share/locale/zh_TW/LC_MESSAGES/jwhois.mo @exec mkdir -p %D/var/jwhois 2>/dev/null || true @unexec rm -f %D/var/jwhois/jwhois.db 2>/dev/null || true @unexec rmdir %D/var/jwhois 2>/dev/null || true |