aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/makefs/Makefile
blob: 398bc5d39ba2c4df59f5ba6edc57fd9e7d56b249 (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:        NetBSD makefs
# Date created:                 17 December 2003
# Whom:                     cperciva@daemonology.net
#
# $FreeBSD$
#

PORTNAME=   makefs
PORTVERSION=    20040704
CATEGORIES= sysutils
MASTER_SITES=   http://www.daemonology.net/makefs/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Builds FFS images

MAN8=       makefs.8
PLIST_FILES=    sbin/makefs

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700042
BROKEN=     Broken with gcc 4.2
.endif

do-build:
    cd ${WRKSRC} && ${SH} -xe build.sh

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/netbsdsrc/tools/makefs/makefs  \
        ${PREFIX}/sbin
.if !defined(WITHOUT_MAN)
    ${INSTALL_MAN} ${WRKSRC}/netbsdsrc/usr.sbin/makefs/makefs.8 \
        ${PREFIX}/man/man8/
.endif

.include <bsd.port.post.mk>