blob: f3ccb51f1a8a47233ba845f2a0bdefbff2ab4328 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# New ports collection makefile for: di
# Date created: 31 August 2002
# Whom: Brad Lanam <bll@gentoo.com>
#
# $FreeBSD$
#
PORTNAME= di
PORTVERSION= 3.9
CATEGORIES= sysutils
MASTER_SITES= http://www.gentoo.com/di/
MAINTAINER= bll@gentoo.com
COMMENT= A disk information utility
HAS_CONFIGURE= yes
MAN1= di.1
.include <bsd.port.pre.mk>
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
${INSTALL_PROGRAM} ${WRKSRC}/mi ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/di.1 ${PREFIX}/man/man1
.include <bsd.port.post.mk>
|