2002-02-22 14:06:04 +00:00
|
|
|
# New ports collection makefile for: dice
|
|
|
|
# Date created: Wed Jan 30 13:26:52 CET 2002
|
|
|
|
# Whom: Miguel Mendez <flynn@energyhq.homeip.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= dice
|
|
|
|
PORTVERSION= 3.15
|
2002-05-16 19:29:10 +00:00
|
|
|
PORTREVISION= 1
|
2002-02-22 14:06:04 +00:00
|
|
|
CATEGORIES= lang devel
|
|
|
|
MASTER_SITES= http://www.obviously.com/dice/
|
|
|
|
DISTNAME= ${PORTNAME}-rel-${PORTVERSION}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2004-01-07 07:34:22 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= DICE - The Amiga/embedded/generic 68000 C compiler
|
2002-02-22 14:06:04 +00:00
|
|
|
|
2002-11-04 01:15:06 +00:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
|
2002-02-22 14:06:04 +00:00
|
|
|
post-patch:
|
2002-05-16 19:29:10 +00:00
|
|
|
@for i in ${WRKSRC}/lib/version.h ${WRKSRC}/include/lib/version.h \
|
|
|
|
${WRKSRC}/src/dcpp/main.c ${WRKSRC}/src/dcc/defs.h \
|
|
|
|
${WRKSRC}/src/dlink/main.c; \
|
|
|
|
do \
|
2002-11-04 01:15:06 +00:00
|
|
|
${REINPLACE_CMD} -e 's@/home/dice@${PREFIX}/share/dice@g' $$i; \
|
2002-05-16 19:29:10 +00:00
|
|
|
done
|
|
|
|
|
2002-02-22 14:06:04 +00:00
|
|
|
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
|
|
|
|
|
2002-12-14 21:31:55 +00:00
|
|
|
@${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} \
|
|
|
|
${REINPLACE_CMD} -e 's@__aligned@dice_aligned@g'
|
|
|
|
|
2002-02-22 14:06:04 +00:00
|
|
|
do-install:
|
2003-03-17 05:39:01 +00:00
|
|
|
@${RM} ${WRKSRC}/doc/loadabs.c.bak
|
2002-02-22 14:06:04 +00:00
|
|
|
@for i in ${WRKSRC}/ubin/*; \
|
|
|
|
do \
|
|
|
|
${INSTALL_PROGRAM} $$i ${PREFIX}/bin; \
|
|
|
|
done
|
|
|
|
|
2002-05-16 19:29:10 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/dice/config
|
|
|
|
@for i in ${WRKSRC}/config/* ; \
|
|
|
|
do \
|
|
|
|
${INSTALL_DATA} $$i ${PREFIX}/share/dice/config; \
|
|
|
|
done
|
|
|
|
|
2002-02-22 14:06:04 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-05-16 19:29:10 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2002-02-22 14:06:04 +00:00
|
|
|
@for i in ${WRKSRC}/doc/* ; \
|
|
|
|
do \
|
2002-05-16 19:29:10 +00:00
|
|
|
${INSTALL_DATA} $$i ${DOCSDIR}; \
|
2002-02-22 14:06:04 +00:00
|
|
|
done
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|