1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/lang/dice/Makefile
Mario Sergio Fujikawa Ferreira f0a1969d34 o Rollback PORTCOMMENT modifications while this feature's implementation
is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
2002-11-10 16:48:51 +00:00

51 lines
1.1 KiB
Makefile

# 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
PORTREVISION= 1
CATEGORIES= lang devel
MASTER_SITES= http://www.obviously.com/dice/
DISTNAME= ${PORTNAME}-rel-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= adamw@FreeBSD.org
USE_REINPLACE= yes
post-patch:
@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 \
${REINPLACE_CMD} -e 's@/home/dice@${PREFIX}/share/dice@g' $$i; \
done
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
do-install:
@for i in ${WRKSRC}/ubin/*; \
do \
${INSTALL_PROGRAM} $$i ${PREFIX}/bin; \
done
@${MKDIR} ${PREFIX}/share/dice/config
@for i in ${WRKSRC}/config/* ; \
do \
${INSTALL_DATA} $$i ${PREFIX}/share/dice/config; \
done
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@for i in ${WRKSRC}/doc/* ; \
do \
${INSTALL_DATA} $$i ${DOCSDIR}; \
done
.endif
.include <bsd.port.mk>