summaryrefslogtreecommitdiff
path: root/sysutils/di/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-09-29 23:29:21 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-09-29 23:29:21 +0000
commit63b3b7bd7470bf1811bc414cbe1188e011304e0e (patch)
tree82722c0b0d44afc5dd9563bb1104012f3ccbf167 /sysutils/di/Makefile
parentNew port: sysutils/clean; automatically remove unwanted files (diff)
Update port: sysutils/di: di-3.9 - disk information utility
Update port: sysutils/di: di-3.9 - disk information utility PR: ports/52955 Submitted by: Brad Lanam <bll@gentoo.com>
Diffstat (limited to 'sysutils/di/Makefile')
-rw-r--r--sysutils/di/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/sysutils/di/Makefile b/sysutils/di/Makefile
index 8a500d810768..f3ccb51f1a8a 100644
--- a/sysutils/di/Makefile
+++ b/sysutils/di/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= di
-PORTVERSION= 3.7
+PORTVERSION= 3.9
CATEGORIES= sysutils
MASTER_SITES= http://www.gentoo.com/di/
@@ -18,9 +18,15 @@ MAN1= di.1
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile"
-.endif
+do-configure:
+ (cd ${WRKSRC}; \
+ CC="$(CC)" CFLAGS="$(CFLAGS)" \
+ LDFLAGS="$(LDFLAGS)" prefix="$(PREFIX)" ./Build config.h)
+
+do-build:
+ (cd ${WRKSRC}; \
+ CC="$(CC)" CFLAGS="$(CFLAGS)" \
+ LDFLAGS="$(LDFLAGS)" prefix="$(PREFIX)" ./Build)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/di ${PREFIX}/bin