mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
9f1de9b900
Convert USE_READLINE by USES=readline
59 lines
1.2 KiB
Makefile
59 lines
1.2 KiB
Makefile
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mdk
|
|
PORTVERSION= 1.2.6
|
|
CATEGORIES= lang gnome
|
|
MASTER_SITES= GNU/${PORTNAME}/v${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A set of utilities for developing programs using MIX and MIXAL
|
|
|
|
LICENSE= GPLv3
|
|
|
|
OPTIONS_DEFINE= GLADE GUILE
|
|
OPTIONS_DEFAULT=GLADE GUILE
|
|
|
|
USE_GNOME= glib20 intltool
|
|
USES= gettext ncurses readline
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
INFO= mdk
|
|
PLIST_FILES= bin/mixasm \
|
|
bin/mixvm \
|
|
share/locale/de/LC_MESSAGES/mdk.mo \
|
|
%%DATADIR%%/mixal-mode.el \
|
|
%%DATADIR%%/mixvm.el
|
|
PLIST_DIRS= %%DATADIR%%
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MGLADE}
|
|
USE_GNOME+= libglade2
|
|
PLIST_FILES+= bin/gmixvm \
|
|
%%DATADIR%%/mixgtk.glade
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-gui
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MGUILE}
|
|
LIB_DEPENDS+= guile:${PORTSDIR}/lang/guile
|
|
PLIST_FILES+= bin/mixguile \
|
|
%%DATADIR%%/mixguile.scm \
|
|
%%DATADIR%%/mixguile-commands.scm \
|
|
%%DATADIR%%/mixguile-vm-stat.scm
|
|
.else
|
|
CONFIGURE_ARGS+=--without-guile
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
|
|
${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|