2002-10-10 18:38:37 +00:00
|
|
|
# New ports collection makefile for: geda
|
|
|
|
# Date created: 4 April 2001
|
|
|
|
# Whom: bruno schwander <bruno@tinkerbox.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2006-07-16 03:38:24 +00:00
|
|
|
PORTNAME= utils
|
2007-03-13 16:30:28 +00:00
|
|
|
PORTVERSION= 20070216
|
2008-06-06 14:17:21 +00:00
|
|
|
PORTREVISION= 2
|
2002-10-10 18:38:37 +00:00
|
|
|
CATEGORIES= cad
|
|
|
|
MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/devel/${PORTVERSION}/ \
|
2007-03-13 16:30:28 +00:00
|
|
|
http://geda.seul.org/devel/${PORTVERSION}/
|
2006-07-16 03:38:24 +00:00
|
|
|
PKGNAMEPREFIX= geda-
|
|
|
|
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
|
2002-10-10 18:38:37 +00:00
|
|
|
|
2006-10-10 07:44:57 +00:00
|
|
|
MAINTAINER= stas@FreeBSD.org
|
2006-07-16 03:38:24 +00:00
|
|
|
COMMENT= The gEDA's utilities
|
2002-10-10 18:38:37 +00:00
|
|
|
|
2006-07-16 03:38:24 +00:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/share/geda/sym:${PORTSDIR}/cad/geda-symbols
|
2007-03-13 16:30:28 +00:00
|
|
|
LIB_DEPENDS= geda.28:${PORTSDIR}/cad/libgeda
|
2002-10-10 18:38:37 +00:00
|
|
|
|
2006-07-16 03:38:24 +00:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/geda
|
|
|
|
DATADIR= ${PREFIX}/share/geda
|
|
|
|
|
2005-05-16 03:32:41 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2004-03-07 14:52:40 +00:00
|
|
|
USE_GMAKE= yes
|
2005-05-16 03:32:41 +00:00
|
|
|
USE_GNOME= gtk20
|
2007-07-23 09:36:51 +00:00
|
|
|
CONFIGURE_ARGS= --with-docdir=${DOCSDIR}
|
2002-10-10 18:38:37 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2005-05-16 03:32:41 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2002-10-10 18:38:37 +00:00
|
|
|
|
2006-06-26 22:06:28 +00:00
|
|
|
MAN1= grenum.1
|
|
|
|
|
2006-10-10 07:44:57 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -E \
|
|
|
|
-e "s,^(DATADIR[[:space:]]*=[[:space:]]*)gEDA,\1geda," \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
|
2007-10-04 00:15:01 +00:00
|
|
|
.include <bsd.port.mk>
|