aboutsummaryrefslogtreecommitdiff
path: root/sysutils/rfstool/Makefile
blob: 303f9ab556035c8c6a740908f844bfc66ed36742 (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
# New ports collection makefile for:	rfstool
# Date created:				2005-03-02
# Whom:					trevor
#
# $FreeBSD$
#

PORTNAME=	rfstool
PORTVERSION=	0.14
CATEGORIES=	sysutils
MASTER_SITES=	${MASTER_SITE_NETBSD}
DISTNAME=	rfstool-0.14-source

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Read from a Reiser file system

PLIST_FILES=	bin/rfstool
USE_ZIP=	yes
WRKSRC=		${WRKDIR}/rfstool-0.14/RFSTOOL

.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500035
MAKEFILE=	makefile.gcc3x
.else
MAKEFILE=	makefile.gcc2x
.endif

post-extract:
	@${REINPLACE_CMD} -e "s,g++,\$${CXX},g" ${WRKSRC}/${MAKEFILE}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/rfstool ${PREFIX}/bin

.include <bsd.port.post.mk>