mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
b48fb132aa
Noticed by: pointyhat via kris
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
# New ports collection makefile for: GaUnit
|
|
# Date created: 8 May 2004
|
|
# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gaunit
|
|
PORTVERSION= 0.1.2
|
|
CATEGORIES= devel scheme
|
|
MASTER_SITES= http://www.cozmixng.org/~kou/download/ \
|
|
${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= rafan
|
|
PKGNAMEPREFIX= gauche-
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= An unit testing framework in Gauche
|
|
|
|
BUILD_DEPENDS= gosh:${PORTSDIR}/lang/gauche
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
NO_BUILD= yes
|
|
DOCSDIR= ${PREFIX}/share/doc/gauche/${PORTNAME}
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/gauche/${PORTNAME}
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= README.* Tutorial.*
|
|
.endif
|
|
|
|
do-install:
|
|
cd ${WRKSRC}; ${LOCALBASE}/bin/gosh install/install.scm
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
${CP} -R ${WRKSRC}/sample/* ${EXAMPLESDIR}
|
|
|
|
test:
|
|
cd ${WRKSRC}; ${LOCALBASE}/bin/gosh -I. test/run-test.scm
|
|
|
|
.include <bsd.port.mk>
|