1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/sysutils/makefs/Makefile
Warner Losh 4f17c30a01 Gcc 4.2 doesn't like expressions of the form (a ? b : c) = 12; so we
code it in a less obscure way.

I did this as a patch to the original, but I don't know if the
original will ever be updated.  This is a hack to make it work well
enough for me to use it.
2007-12-17 03:03:38 +00:00

33 lines
667 B
Makefile

# 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>
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>