1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/devel/duplo/Makefile
Baptiste Daroussin dac273fd32 Cleanup plist
2014-12-20 18:06:21 +00:00

29 lines
689 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= duplo
PORTVERSION= 0.2.0
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}_${PORTVERSION}
DISTNAME= ${PORTNAME}_${PORTVERSION}_src
MAINTAINER= ports@FreeBSD.org
COMMENT= Find duplicated code blocks in large C/C++/Java/C#/VB.Net systems
USES= gmake
PLIST_FILES= bin/duplo %%DATADIR%%/duplo.xsl
post-patch:
@${REINPLACE_CMD} -e "s,^CC,#CC," \
-e "s,^CXXFLAGS,#CXXFLAGS," \
-e "s,[$$]{CC},$$\{CXX\}," \
${WRKSRC}/${MAKEFILE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/duplo ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/duplo.xsl ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>