2002-10-10 20:38:37 +02:00
|
|
|
# New ports collection makefile for: geda
|
|
|
|
# Date created: 4 April 2001
|
|
|
|
# Whom: bruno schwander <bruno@tinkerbox.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2006-07-16 05:38:24 +02:00
|
|
|
PORTNAME= utils
|
2009-02-08 17:33:55 +01:00
|
|
|
PORTVERSION= 1.4.3
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 4
|
2009-02-21 12:43:23 +01:00
|
|
|
PORTEPOCH= 1
|
2002-10-10 20:38:37 +02:00
|
|
|
CATEGORIES= cad
|
2009-02-08 17:33:55 +01:00
|
|
|
MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/release/v1.4/${PORTVERSION}/ \
|
|
|
|
http://geda.seul.org/release/v1.4/${PORTVERSION}/
|
2006-07-16 05:38:24 +02:00
|
|
|
PKGNAMEPREFIX= geda-
|
|
|
|
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
|
2002-10-10 20:38:37 +02:00
|
|
|
|
2011-10-24 05:33:20 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-07-16 05:38:24 +02:00
|
|
|
COMMENT= The gEDA's utilities
|
2002-10-10 20:38:37 +02:00
|
|
|
|
2006-07-16 05:38:24 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/share/geda/sym:${PORTSDIR}/cad/geda-symbols
|
2009-02-08 17:33:55 +01:00
|
|
|
LIB_DEPENDS= geda.33:${PORTSDIR}/cad/libgeda
|
2002-10-10 20:38:37 +02:00
|
|
|
|
2006-07-16 05:38:24 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/geda
|
|
|
|
DATADIR= ${PREFIX}/share/geda
|
|
|
|
|
2005-05-16 05:32:41 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2004-03-07 15:52:40 +01:00
|
|
|
USE_GMAKE= yes
|
2005-05-16 05:32:41 +02:00
|
|
|
USE_GNOME= gtk20
|
2009-02-21 12:43:23 +01:00
|
|
|
USE_PERL5_RUN= yes
|
|
|
|
USE_PYTHON_RUN= yes
|
2007-07-23 11:36:51 +02:00
|
|
|
CONFIGURE_ARGS= --with-docdir=${DOCSDIR}
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2002-10-10 20:38:37 +02:00
|
|
|
|
2006-06-27 00:06:28 +02:00
|
|
|
MAN1= grenum.1
|
|
|
|
|
2006-10-10 09:44:57 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -E \
|
|
|
|
-e "s,^(DATADIR[[:space:]]*=[[:space:]]*)gEDA,\1geda," \
|
|
|
|
${WRKSRC}/configure
|
2009-02-21 12:43:23 +01:00
|
|
|
@${REINPLACE_CMD} -E \
|
|
|
|
-e "s,^(#!)/usr/bin/perl,\1${PERL}," \
|
|
|
|
-e "s,^(#!)/usr/bin/python,\1${PYTHON_CMD}," \
|
|
|
|
${WRKSRC}/scripts/*
|
2006-10-10 09:44:57 +02:00
|
|
|
|
2007-10-04 02:15:01 +02:00
|
|
|
.include <bsd.port.mk>
|