aboutsummaryrefslogtreecommitdiffstats
path: root/lang/mdk/Makefile
blob: 88a39f5a9d532074aaef8823601af2b5ea8e33d2 (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
38
39
# 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=   1
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.15:${PORTSDIR}/lang/guile \
        readline.5:${PORTSDIR}/devel/readline

USE_X_PREFIX=   yes
USE_GNOME=  gnometarget libglade2
USE_GETOPT_LONG=    yes
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>