aboutsummaryrefslogtreecommitdiff
path: root/sysutils/di
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2006-01-29 20:48:29 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2006-01-29 20:48:29 +0000
commited1c6f838de710399676ba97dff12acdf1940887 (patch)
tree4aa9b26ac46a65e434d3122678c7dd64914b9416 /sysutils/di
parent11bcef58fd604cf1b787d09cb938f6e2bd8048c6 (diff)
downloadports-ed1c6f838de710399676ba97dff12acdf1940887.tar.gz
ports-ed1c6f838de710399676ba97dff12acdf1940887.zip
Notes
Diffstat (limited to 'sysutils/di')
-rw-r--r--sysutils/di/Makefile33
-rw-r--r--sysutils/di/distinfo5
2 files changed, 20 insertions, 18 deletions
diff --git a/sysutils/di/Makefile b/sysutils/di/Makefile
index 8f5c18612b81..f1a01d15416b 100644
--- a/sysutils/di/Makefile
+++ b/sysutils/di/Makefile
@@ -6,9 +6,10 @@
#
PORTNAME= di
-PORTVERSION= 3.10
+PORTVERSION= 4.4
CATEGORIES= sysutils
-MASTER_SITES= http://www.gentoo.com/di/
+MASTER_SITES= http://www.gentoo.com/di/ \
+ http://fresh.t-systems-sfr.com/unix/src/privat2/
MAINTAINER= bll@gentoo.com
COMMENT= Disk Information Utility
@@ -19,36 +20,36 @@ MAN1= di.1
do-configure:
(cd ${WRKSRC}; \
- CC="$(CC)" CFLAGS="$(CFLAGS)" \
- LDFLAGS="$(LDFLAGS)" prefix="$(PREFIX)" \
- LOCALEDIR="$(PREFIX)/share/locale" \
+ CC="${CC}" CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" prefix="${PREFIX}" \
+ LOCALEDIR="${PREFIX}/share/locale" \
./Build config.h)
do-build:
(cd ${WRKSRC}; \
- CC="$(CC)" CFLAGS="$(CFLAGS)" \
- LDFLAGS="$(LDFLAGS)" prefix="$(PREFIX)" \
- LOCALEDIR="$(PREFIX)/share/locale" \
+ CC="${CC}" CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" prefix="${PREFIX}" \
+ LOCALEDIR="${PREFIX}/share/locale" \
./Build)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/di ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/mi ${PREFIX}/bin
+ ${LN} -sf ${PREFIX}/bin/di ${PREFIX}/bin/mi
${INSTALL_MAN} ${WRKSRC}/di.1 ${PREFIX}/man/man1
(cd ${WRKSRC}; \
- CC="$(CC)" CFLAGS="$(CFLAGS)" \
- LDFLAGS="$(LDFLAGS)" prefix="$(PREFIX)" \
- LOCALEDIR="$(PREFIX)/share/locale" \
+ 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$$,,'`; \
+ j=`echo $$i | ${SED} 's,\\.po$$,,'`; \
test -d ${PREFIX}/share/locale/$$j || \
- mkdir ${PREFIX}/share/locale/$$j; \
+ ${MKDIR} ${PREFIX}/share/locale/$$j; \
test -d ${PREFIX}/share/locale/$$j/LC_MESSAGES || \
- mkdir ${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; \
+ ${RM} -f $$j.mo; \
done)
.include <bsd.port.mk>
diff --git a/sysutils/di/distinfo b/sysutils/di/distinfo
index a4edacb48b2b..40104337dbfe 100644
--- a/sysutils/di/distinfo
+++ b/sysutils/di/distinfo
@@ -1,3 +1,4 @@
-MD5 (di-3.10.tar.gz) = 25f92d2d2b4478178541cfaa5b5fc72b
-SHA256 (di-3.10.tar.gz) = 495487cb9173c6fe071bf9e00d57a4140ecf89629b6e715314b6d793ac5799ba
+MD5 (di-4.4.tar.gz) = 222a367414030666690e833fc2668be4
+SHA256 (di-4.4.tar.gz) = 4dfa3abe57333c690f8e914e71de03f27e4f8be9f4b4b0f9e7842c0e73265c50
+SIZE (di-4.4.tar.gz) = 67675
SIZE (di-3.10.tar.gz) = 108172