mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
58 lines
1.2 KiB
Makefile
58 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 gmake pkgconfig
|
|
GNU_CONFIGURE= 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%%
|
|
|
|
NO_STAGE= yes
|
|
.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>
|