freebsd-ports/sysutils/rfstool/Makefile
Stanislav Sedov da9462706d - Honour CC and CXX
- Fix compiling with gcc 4.1

Approved by:	sem (mentor)
2006-10-02 13:34:33 +00:00

34 lines
674 B
Makefile

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