aboutsummaryrefslogtreecommitdiffstats
path: root/cad/geda-projectmanager/Makefile
blob: 53ab1f489b401b6dc07bef6fe9be0271cd4a310a (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
40
41
42
43
44
# New ports collection makefile for:    geda
# Date created:         24 Nov 1998
# Whom:             Vanilla I. Shu <vanilla@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   projectmanager
PORTVERSION=    20060123
PORTREVISION=   2
CATEGORIES= cad
MASTER_SITES=   ftp://ftp.geda.seul.org/pub/geda/devel/${PORTVERSION}/ \
        http://geda.seul.org/devel/${PORTVERSION}/ \
        http://www.tinkerbox.org/projects/files/gEDA/
PKGNAMEPREFIX=  geda-
DISTNAME=   geda-${PORTVERSION}

MAINTAINER= stas@FreeBSD.org
COMMENT=    The gEDA's project manager

IGNORE=     project dead
DEPRECATED= ${IGNORE}
EXPIRATION_DATE=2007-04-12

GNU_CONFIGURE=  yes
USE_GNOME=  gtk20
CFLAGS+=    -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"

.if !defined(WITHOUT_NLS)
USE_GETTEXT=    yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif

post-patch:
    @${REINPLACE_CMD} -E \
        -e "s,^(DATADIR[[:space:]]*=[[:space:]]*)gEDA,\1geda," \
        ${WRKSRC}/configure

.include <bsd.port.mk>