# New ports collection makefile for: disktype
# Date created: 15 June 2003
# Whom: Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD: ports/sysutils/disktype/Makefile,v 1.6 2006/06/15 22:38:30 ehaupt Exp $
#
PORTNAME= disktype
PORTVERSION= 9
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Disk formatting type autodetector
USE_GMAKE= yes
PLIST_FILES= bin/disktype
PORTDOCS= README
post-patch:
.for var in CFLAGS LDFLAGS CC
@${REINPLACE_CMD} -e 's|^\(${var}\)[ ]*=|\1 ?=|' \
${WRKSRC}/Makefile
.endfor
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
syntax highlighted by Code2HTML, v. 0.9.1