2001-02-22 14:23:17 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: make++
|
|
|
|
# Date created: Fab 21, 2001
|
|
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= make++
|
2006-04-21 15:43:17 +02:00
|
|
|
PORTVERSION= 1.19
|
2002-01-27 06:19:39 +01:00
|
|
|
CATEGORIES= devel perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME:S/+/p/g}
|
2001-02-22 14:23:17 +01:00
|
|
|
DISTNAME= ${PORTNAME:S/+/p/g}-${PORTVERSION}
|
|
|
|
|
2002-01-27 06:19:39 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= A drop-in replacement for GNU make
|
2001-02-22 14:23:17 +01:00
|
|
|
|
2003-10-24 14:05:09 +02:00
|
|
|
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
|
2001-02-22 14:23:17 +01:00
|
|
|
|
|
|
|
USE_PERL5= yes
|
2002-01-27 06:19:39 +01:00
|
|
|
DATADIR= ${PREFIX}/share/makepp
|
2001-02-22 14:23:17 +01:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
@${PERL} -pi -e "s|\@htmldir\@|${PREFIX}/share/makepp/html|g ; \
|
|
|
|
s|\@datadir\@|${PREFIX}/share/makepp|g" ${WRKSRC}/makepp
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/makepp ${PREFIX}/bin
|
2002-01-27 06:19:39 +01:00
|
|
|
@${MKDIR} ${DATADIR}/Signature
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/recursive_makepp ${DATADIR}
|
|
|
|
@(cd ${WRKSRC} ; \
|
2002-09-29 10:07:47 +02:00
|
|
|
${FIND} . -name "*.pm" -maxdepth 1 -exec ${INSTALL_SCRIPT} {} ${DATADIR} \;)
|
2002-01-27 06:19:39 +01:00
|
|
|
@(cd ${WRKSRC}/Signature ; \
|
2002-09-29 10:07:47 +02:00
|
|
|
${FIND} . -name "*.pm" -exec ${INSTALL_SCRIPT} {} ${DATADIR}/Signature \;)
|
2002-01-27 06:19:39 +01:00
|
|
|
@(cd ${WRKSRC} ; \
|
2002-09-29 10:07:47 +02:00
|
|
|
${FIND} . -name "*.mk" -exec ${INSTALL_SCRIPT} {} ${DATADIR} \;)
|
2001-02-22 14:23:17 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|