summaryrefslogtreecommitdiff
path: root/cad/geda-projectmanager/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cad/geda-projectmanager/Makefile')
-rw-r--r--cad/geda-projectmanager/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/cad/geda-projectmanager/Makefile b/cad/geda-projectmanager/Makefile
index af42fdf0f286..450ef5cc9631 100644
--- a/cad/geda-projectmanager/Makefile
+++ b/cad/geda-projectmanager/Makefile
@@ -7,7 +7,7 @@
PORTNAME= projectmanager
PORTVERSION= 20060123
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= cad
MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/devel/${PORTVERSION}/ \
http://geda.seul.org/devel/${PORTVERSION}/ \
@@ -15,11 +15,14 @@ MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/devel/${PORTVERSION}/ \
PKGNAMEPREFIX= geda-
DISTNAME= geda-${PORTVERSION}
-MAINTAINER= ssedov@mbsd.msk.ru
+MAINTAINER= stas@FreeBSD.org
COMMENT= The gEDA's project manager
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
@@ -29,4 +32,9 @@ 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>