aboutsummaryrefslogtreecommitdiffstats
path: root/lang/mdk/Makefile
blob: 556738d5d8c37359e3a88c683f42754475fa7028 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# ex:ts=8
# New ports collection makefile for:  mdk
# Date created:         Apr 1, 2001
# Whom:             Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   mdk
PORTVERSION=    1.2.1
PORTREVISION=   7
CATEGORIES= lang gnome
MASTER_SITES=   ${MASTER_SITE_GNU:S/$/:gnu/} \
        ${MASTER_SITE_SOURCEFORGE:S/$/:sf/}
MASTER_SITE_SUBDIR= ${PORTNAME}/v${PORTVERSION}/:gnu \
            ${PORTNAME}/:sf
DISTFILES=  ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:gnu \
        ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:sf

MAINTAINER= stas@FreeBSD.org
COMMENT=    A set of utilities for developing programs using MIX and MIXAL

LIB_DEPENDS=    guile.20:${PORTSDIR}/lang/guile \
        readline.6:${PORTSDIR}/devel/readline

USE_GNOME=  gnometarget libglade2
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-nls
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"

INFO=       mdk

post-patch:
    @${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
        ${WRKSRC}/configure

.include <bsd.port.mk>