freebsd-ports/lang/guile-aclocal/Makefile
Andrew "RhodiumToad" Gierth 94218d3a91 Mk/Uses: Add guile.mk
This patch adds USES=guile[:options], a framework to permit the
concurrent installation of different guile versions, allowing
ports to specify which guile they need.

lang/guile is now a meta-port, installing the default guile version;
guile 3 is now shipped in lang/guile3.

A new port lang/guile-aclocal holds the guile.m4 file from guile3
to permit ports written against guile1 or guile2 to avoid conflicts.

PR:		260960
Reported by:	Martin Neubauer <m.ne@gmx.net>
Approved by:	bofh
Differential Revision:	https://reviews.freebsd.org/D40194
2023-07-31 01:59:04 +03:00

18 lines
448 B
Makefile

PORTNAME= guile-aclocal
CATEGORIES= lang scheme
PKGNAMESUFFIX=
DISTNAME= guile-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
MASTERDIR= ${.CURDIR}/../guile3
NO_ARCH= yes
NO_BUILD= yes
PLIST= # disable MASTERDIR's plist
PLIST_FILES= ${PREFIX}/share/aclocal/guile.m4
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share/aclocal/
${INSTALL_DATA} ${WRKSRC}/meta/guile.m4 ${STAGEDIR}${PREFIX}/share/aclocal/
.include "${MASTERDIR}/Makefile"