Summary: | Update port: sysutils/di: di-3.10 - disk information utility | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Brad Lanam <bll> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Brad Lanam
2004-02-27 02:30:16 UTC
State Changed From-To: open->feedback Please submit diff in unified format. Diff as requested. --- /tmp/fbsd-Makefile.txt Fri Feb 27 11:23:09 2004 +++ Makefile Thu Feb 26 14:20:38 2004 @@ -1,19 +1,20 @@ -# New ports collection makefile for: di -# Date created: 31 August 2002 -# Whom: Brad Lanam <bll@gentoo.com> +# New ports collection makefile for: di +# Date created: 31 August 2002 +# Whom: Brad Lanam <bll@gentoo.com> # -# $FreeBSD: /repoman/r/pcvs/ports/sysutils/di/Makefile,v 1.4 2003/09/29 23:29:21 edwin Exp $ +# $FreeBSD$ # PORTNAME= di -PORTVERSION= 3.9 +PORTVERSION= 3.10 CATEGORIES= sysutils MASTER_SITES= http://www.gentoo.com/di/ +BUILD_DEPENDS= msgfmt:${PORTSDIR}/devel/gettext +COMMENT= Disk Information Utility MAINTAINER= bll@gentoo.com -COMMENT= A disk information utility -HAS_CONFIGURE= yes +HAS_CONFIGURE= no MAN1= di.1 .include <bsd.port.pre.mk> @@ -21,16 +22,35 @@ 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> --- /tmp/fbsd-pkg-plist.txt Fri Feb 27 11:25:32 2004 +++ pkg-plist Thu Feb 26 14:20:48 2004 @@ -1,2 +1,8 @@ bin/di bin/mi +share/locale/de_DE/LC_MESSAGES/di.mo +share/locale/en_US/LC_MESSAGES/di.mo +@dirrm share/locale/en_US/LC_MESSAGES +@dirrm share/locale/de_DE/LC_MESSAGES +@dirrm share/locale/en_US +@dirrm share/locale/de_DE State Changed From-To: feedback->closed Committed, thanks! |