diff options
author | pav <pav@FreeBSD.org> | 2004-02-28 20:31:52 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-02-28 20:31:52 +0800 |
commit | 8c35575fe1b4e2497c329224759e7f61d63c9ccb (patch) | |
tree | 672c087c316d2fa46fae94bd8cc8e85d65d1a18d | |
parent | e7457d1db3869c5e7f64edd163e1e5dc2537afb5 (diff) | |
download | freebsd-ports-gnome-8c35575fe1b4e2497c329224759e7f61d63c9ccb.tar.gz freebsd-ports-gnome-8c35575fe1b4e2497c329224759e7f61d63c9ccb.tar.zst freebsd-ports-gnome-8c35575fe1b4e2497c329224759e7f61d63c9ccb.zip |
- Update to 3.10
PR: ports/63426
Submitted by: Brad Lanam <bll@gentoo.com> (maintainer)
-rw-r--r-- | sysutils/di/Makefile | 28 | ||||
-rw-r--r-- | sysutils/di/distinfo | 3 | ||||
-rw-r--r-- | sysutils/di/pkg-plist | 2 |
3 files changed, 27 insertions, 6 deletions
diff --git a/sysutils/di/Makefile b/sysutils/di/Makefile index f3ccb51f1a8a..8c9d1423f7c0 100644 --- a/sysutils/di/Makefile +++ b/sysutils/di/Makefile @@ -6,14 +6,13 @@ # PORTNAME= di -PORTVERSION= 3.9 +PORTVERSION= 3.10 CATEGORIES= sysutils MASTER_SITES= http://www.gentoo.com/di/ MAINTAINER= bll@gentoo.com -COMMENT= A disk information utility +COMMENT= Disk Information Utility -HAS_CONFIGURE= yes MAN1= di.1 .include <bsd.port.pre.mk> @@ -21,16 +20,35 @@ MAN1= di.1 do-configure: (cd ${WRKSRC}; \ CC="$(CC)" CFLAGS="$(CFLAGS)" \ - LDFLAGS="$(LDFLAGS)" prefix="$(PREFIX)" ./Build config.h) + LDFLAGS="$(LDFLAGS)" prefix="$(PREFIX)" \ + LOCALEDIR="$(PREFIX)/share/locale" \ + ./Build config.h) do-build: (cd ${WRKSRC}; \ CC="$(CC)" CFLAGS="$(CFLAGS)" \ - LDFLAGS="$(LDFLAGS)" prefix="$(PREFIX)" ./Build) + LDFLAGS="$(LDFLAGS)" prefix="$(PREFIX)" \ + LOCALEDIR="$(PREFIX)/share/locale" \ + ./Build) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/di ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/mi ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/di.1 ${PREFIX}/man/man1 + (cd ${WRKSRC}; \ + CC="$(CC)" CFLAGS="$(CFLAGS)" \ + LDFLAGS="$(LDFLAGS)" prefix="$(PREFIX)" \ + LOCALEDIR="$(PREFIX)/share/locale" \ + ./Build build-po) + -(cd ${WRKSRC}/po;for i in *.po; do \ + j=`echo $$i | $(SED) 's,\\.po$$,,'`; \ + test -d ${PREFIX}/share/locale/$$j || \ + mkdir ${PREFIX}/share/locale/$$j; \ + test -d ${PREFIX}/share/locale/$$j/LC_MESSAGES || \ + mkdir ${PREFIX}/share/locale/$$j/LC_MESSAGES; \ + ${INSTALL_DATA} $$j.mo \ + ${PREFIX}/share/locale/$$j/LC_MESSAGES/di.mo; \ + $(RM) -f $$j.mo; \ + done) .include <bsd.port.post.mk> diff --git a/sysutils/di/distinfo b/sysutils/di/distinfo index 487e80076160..c2965ee7f844 100644 --- a/sysutils/di/distinfo +++ b/sysutils/di/distinfo @@ -1 +1,2 @@ -MD5 (di-3.9.tar.gz) = 59c840955175ffaf051417c5d0c702d3 +MD5 (di-3.10.tar.gz) = 25f92d2d2b4478178541cfaa5b5fc72b +SIZE (di-3.10.tar.gz) = 108172 diff --git a/sysutils/di/pkg-plist b/sysutils/di/pkg-plist index 6d9b314fda76..83abec797e03 100644 --- a/sysutils/di/pkg-plist +++ b/sysutils/di/pkg-plist @@ -1,2 +1,4 @@ bin/di bin/mi +share/locale/de_DE/LC_MESSAGES/di.mo +share/locale/en_US/LC_MESSAGES/di.mo |