2001-02-22 13:23:17 +00: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++
|
2002-01-27 05:19:39 +00:00
|
|
|
PORTVERSION= 1.18
|
|
|
|
CATEGORIES= devel perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME:S/+/p/g}
|
2001-02-22 13:23:17 +00:00
|
|
|
DISTNAME= ${PORTNAME:S/+/p/g}-${PORTVERSION}
|
|
|
|
|
2002-01-27 05:19:39 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2001-02-22 13:23:17 +00:00
|
|
|
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
|
|
|
|
|
|
|
|
USE_PERL5= yes
|
2002-01-27 05:19:39 +00:00
|
|
|
DATADIR= ${PREFIX}/share/makepp
|
2001-02-22 13:23:17 +00: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 05:19:39 +00:00
|
|
|
@${MKDIR} ${DATADIR}/Signature
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/recursive_makepp ${DATADIR}
|
|
|
|
@(cd ${WRKSRC} ; \
|
2002-09-29 08:07:47 +00:00
|
|
|
${FIND} . -name "*.pm" -maxdepth 1 -exec ${INSTALL_SCRIPT} {} ${DATADIR} \;)
|
2002-01-27 05:19:39 +00:00
|
|
|
@(cd ${WRKSRC}/Signature ; \
|
2002-09-29 08:07:47 +00:00
|
|
|
${FIND} . -name "*.pm" -exec ${INSTALL_SCRIPT} {} ${DATADIR}/Signature \;)
|
2002-01-27 05:19:39 +00:00
|
|
|
@(cd ${WRKSRC} ; \
|
2002-09-29 08:07:47 +00:00
|
|
|
${FIND} . -name "*.mk" -exec ${INSTALL_SCRIPT} {} ${DATADIR} \;)
|
2002-01-27 05:19:39 +00:00
|
|
|
@${MKDIR} ${DATADIR}/html
|
|
|
|
${CP} ${WRKSRC}/doc/* ${DATADIR}/html
|
2001-02-22 13:23:17 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|