3186e08e7c
ports to build against it. Most changes are rather minor and mechanical except for the devel/gdb (obtained via their bugtracker [1], courtesy of Doug Evans). One port (science/meep) I had to mark BROKEN after fixing it proved to be very tedious and actually unreliable. It is very old, there are newer versions available so it should be fixed by updating. One port (devel/libruin) had revealed a bug in the new Guile code (an auxiliary script, really) that had to be worked-round; reference to the problematic upstream commit is provided in the patch. PR: 229613 Exp-run by: antoine [1] https://sourceware.org/bugzilla/show_bug.cgi?id=21104#c8
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mdk
|
|
PORTVERSION= 1.2.10
|
|
PORTREVISION= 2
|
|
CATEGORIES= lang gnome
|
|
MASTER_SITES= GNU/${PORTNAME}/v${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Utilities for developing programs using MIX and MIXAL
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USES= gettext gmake gnome ncurses pkgconfig readline:port
|
|
USE_GNOME= glib20 intltool
|
|
GNU_CONFIGURE= yes
|
|
TEST_TARGET= check
|
|
|
|
INFO= mdk
|
|
|
|
OPTIONS_DEFINE= GLADE GUILE NLS
|
|
OPTIONS_DEFAULT=GLADE GUILE
|
|
OPTIONS_SUB= yes
|
|
|
|
GLADE_CONFIGURE_ENABLE= gui
|
|
GLADE_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
|
libfreetype.so:print/freetype2
|
|
GLADE_USE= GNOME=cairo,gdkpixbuf2,libglade2
|
|
|
|
GUILE_CONFIGURE_WITH= guile
|
|
GUILE_LIB_DEPENDS= libguile-2.2.so:lang/guile2 \
|
|
libgc-threaded.so:devel/boehm-gc-threaded
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
|
|
${WRKSRC}/configure
|
|
|
|
post-patch-GLADE-on:
|
|
# Fix path in command for default external editor
|
|
@${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|' \
|
|
${WRKSRC}/mixgtk/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|