aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorsylvio <sylvio@FreeBSD.org>2012-06-09 05:27:42 +0800
committersylvio <sylvio@FreeBSD.org>2012-06-09 05:27:42 +0800
commit746e15691c86cf44e6554a1f51073bbbe0871fdb (patch)
tree3fa5699f583b0ff78550fc77799293203d061ddf /lang
parent589f946512e9bab4eac6bd756b38dbd7401437f1 (diff)
downloadfreebsd-ports-gnome-746e15691c86cf44e6554a1f51073bbbe0871fdb.tar.gz
freebsd-ports-gnome-746e15691c86cf44e6554a1f51073bbbe0871fdb.tar.zst
freebsd-ports-gnome-746e15691c86cf44e6554a1f51073bbbe0871fdb.zip
- Switch NOPORTDOCS and NOPORTEXAMPLES to their OptionsNG
equivalents for devel/premake4, lang/ikarus, lang/stklos and lang/ypsilon. - Add mutual conflicts to lang/ikarus and lang/petite-chez as they both install bin/scheme-script (reported by Sulev-Madis Silber with his ports conflicts checker). - Only define NO_PACKAGE for lang/ikarus when PACKAGE_BUILDING is set (i.e. on the pointyhat cluster). - Add regression-test target to lang/ypsilon. PR: ports/168715 Submitted by: Vitaly Magerya <vmagerya@gmail.com> (maintainer)
Diffstat (limited to 'lang')
-rw-r--r--lang/petite-chez/Makefile3
-rw-r--r--lang/stklos/Makefile2
-rw-r--r--lang/ypsilon/Makefile9
3 files changed, 10 insertions, 4 deletions
diff --git a/lang/petite-chez/Makefile b/lang/petite-chez/Makefile
index ebdff54863cc..6d2f76e6fc7d 100644
--- a/lang/petite-chez/Makefile
+++ b/lang/petite-chez/Makefile
@@ -15,6 +15,9 @@ DISTNAME= pcsv${PORTVERSION}-${CHEZ_MACHTYPE}
MAINTAINER= vmagerya@gmail.com
COMMENT= Free interpreter for Chez Scheme system
+# Both install bin/scheme-script
+CONFLICTS= ikarus-*
+
ONLY_FOR_ARCHS= i386 amd64
NO_PACKAGE= user must accept license terms before installation
diff --git a/lang/stklos/Makefile b/lang/stklos/Makefile
index 6fad7df5f24f..a1797f37104b 100644
--- a/lang/stklos/Makefile
+++ b/lang/stklos/Makefile
@@ -52,7 +52,7 @@ post-patch:
${WRKSRC}/doc/Makefile.in ${WRKSRC}/doc/Makefile.am \
${WRKSRC}/lib/Makefile.in ${WRKSRC}/lib/Makefile.am
-.if defined(NOPORTDOCS)
+.if !${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -E -e 's/^(install-data-am:).*/\1 install-man install-schemeDATA/' \
-e '/install-docpdfDATA install-man install-schemeDATA/d' \
${WRKSRC}/doc/Makefile.in
diff --git a/lang/ypsilon/Makefile b/lang/ypsilon/Makefile
index cd35399f3600..56e85075679f 100644
--- a/lang/ypsilon/Makefile
+++ b/lang/ypsilon/Makefile
@@ -23,16 +23,19 @@ MAN1= ypsilon.1
ONLY_FOR_ARCHS= i386 amd64
-post-patch:
+.include <bsd.port.pre.mk>
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
@${MKDIR} ${DATADIR}
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "sitelib stdlib" ${DATADIR})
-.ifndef (NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/example/*.scm ${EXAMPLESDIR}
.endif
-.include <bsd.port.mk>
+regression-test: build
+ cd ${WRKSRC} && ${GMAKE} check
+
+.include <bsd.port.post.mk> \ No newline at end of file