mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
da9462706d
- Fix compiling with gcc 4.1 Approved by: sem (mentor)
35 lines
674 B
Makefile
35 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>
|