2001-04-07 02:20:37 +02:00
|
|
|
# New ports collection makefile for: geda
|
|
|
|
# Date created: 4 April 2001
|
|
|
|
# Whom: bruno schwander <bruno@tinkerbox.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gschem
|
2007-03-13 17:30:28 +01:00
|
|
|
PORTVERSION= 20070216
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 1
|
2001-04-07 02:20:37 +02:00
|
|
|
CATEGORIES= cad
|
2002-10-10 20:45:49 +02:00
|
|
|
MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/devel/${PORTVERSION}/ \
|
2007-03-13 17:30:28 +01:00
|
|
|
http://geda.seul.org/devel/${PORTVERSION}/
|
2006-07-16 05:46:07 +02:00
|
|
|
PKGNAMEPREFIX= geda-
|
|
|
|
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
|
2001-04-07 02:20:37 +02:00
|
|
|
|
2006-10-10 09:44:57 +02:00
|
|
|
MAINTAINER= stas@FreeBSD.org
|
2006-07-16 05:46:07 +02:00
|
|
|
COMMENT= The gEDA's electronic schematic capture tool
|
2001-04-07 02:20:37 +02:00
|
|
|
|
2006-07-16 05:46:07 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/share/geda/sym:${PORTSDIR}/cad/geda-symbols
|
2007-03-13 17:30:28 +01:00
|
|
|
LIB_DEPENDS= geda.28:${PORTSDIR}/cad/libgeda
|
2001-04-07 02:20:37 +02:00
|
|
|
|
2006-07-16 05:46:07 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/geda
|
|
|
|
DATADIR= ${PREFIX}/share/geda
|
|
|
|
|
2005-05-16 05:32:41 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GNOME= gtk20
|
2007-07-23 11:36:51 +02:00
|
|
|
CONFIGURE_ARGS= --enable-gdgeda --with-docdir=${DOCSDIR}
|
2001-04-07 02:20:37 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2005-05-16 05:32:41 +02:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2001-04-07 02:20:37 +02:00
|
|
|
|
|
|
|
MAN1= gschem.1
|
|
|
|
|
2006-07-16 05:46:07 +02:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
BROKEN= does not compile on 4.x
|
|
|
|
.endif
|
|
|
|
|
2006-10-10 09:44:57 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -E \
|
|
|
|
-e "s,^(DATADIR[[:space:]]*=[[:space:]]*)gEDA,\1geda," \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
|
2006-07-16 05:46:07 +02:00
|
|
|
.include <bsd.port.post.mk>
|