aboutsummaryrefslogtreecommitdiffstats
path: root/devel/fastdep/Makefile
blob: 279215ad8011f6561e85ee7ec863849eadeedfad (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
35
36
# ex:ts=8
# Ports collection makefile for:    fastdep
# Date created:         Oct 30, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   fastdep
PORTVERSION=    0.13
PORTREVISION=   1
CATEGORIES= devel
MASTER_SITES=   http://www.irule.be/bvh/c++/fastdep/

MAINTAINER= ports@FreeBSD.org

LIB_DEPENDS=    gnugetopt.1:${PORTSDIR}/devel/libgnugetopt

USE_REINPLACE=  yes
USE_GMAKE=  yes
MAKE_ENV=   CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
ALL_TARGET= boot

post-patch:
    @${REINPLACE_CMD} -e 's|make |\$$\{MAKE\} |g' ${WRKSRC}/Makefile
    @${REINPLACE_CMD} -e 's|CXXFLAGS=|CXXFLAGS+=|g ; \
         s|-O2||g' ${WRKSRC}/Makefile.common

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/fastdep ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif

.include <bsd.port.mk>