Import geda-gaf. OK naddy@

This commit is contained in:
edd 2010-04-11 22:22:39 +00:00
parent 1b58e64cb2
commit ebfd817c76
9 changed files with 2342 additions and 0 deletions

50
cad/geda-gaf/Makefile Normal file
View File

@ -0,0 +1,50 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/04/11 22:22:39 edd Exp $
COMMENT = suite of tools for electronic design automation
DISTNAME = geda-gaf-1.6.0
CATEGORIES = cad
HOMEPAGE = http://geda.seul.org
MAINTAINER = Edd Barrett <edd@openbsd.org>
SHARED_LIBS = geda 0.0 # 38.0
USE_LIBTOOL = Yes
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext \
Xfixes Xi Xinerama Xrandr Xrender atk-1.0 c cairo \
expat fontconfig freetype glitz iconv intl ltdl m \
pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1 \
png pthread pthread-stubs xcb xcb-render \
xcb-render-util z
MASTER_SITES = http://geda.seul.org/release/v1.6/1.6.0/
LIB_DEPENDS = gio-2.0,glib-2.0,gobject-2.0,gmodule-2.0::devel/glib2 \
gtk-x11-2.0,gdk_pixbuf-2.0,gdk-x11-2.0::x11/gtk+2 \
guile::lang/guile \
gmp::devel/gmp
RUN_DEPENDS = :shared-mime-info-*:misc/shared-mime-info \
:desktop-file-utils-*:devel/desktop-file-utils
USE_X11 = Yes
USE_GMAKE = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = ${CONFIGURE_SHARED}
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build-tools
# This confuses update-patches.
post-extract:
@rm -f ${WRKSRC}/gnetlist/examples/vams/gschemrc.orig
# MAKE_ENV hoses the regression test, so we do this manually
do-regress:
cd ${WRKSRC} && ${MAKE_PROGRAM} ${ALL_REGRESS_FLAGS} \
-f ${MAKE_FILE} ${REGRESS_TARGET} ${REGRESS_LOG}
.include <bsd.port.mk>

5
cad/geda-gaf/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (geda-gaf-1.6.0.tar.gz) = HazHFAfmnXfq9MERX1vNVg==
RMD160 (geda-gaf-1.6.0.tar.gz) = u8qn2tZOKiS3rPVNo+BCbCZcmA4=
SHA1 (geda-gaf-1.6.0.tar.gz) = nr/5p/VwCPVksxD+2OOQdkiFboM=
SHA256 (geda-gaf-1.6.0.tar.gz) = YZvt5zLJt/GQajBsuRVPnRbFAZek18EkThnK3jz+HFM=
SIZE (geda-gaf-1.6.0.tar.gz) = 6214126

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-build-tools_icon-theme-installer,v 1.1.1.1 2010/04/11 22:22:40 edd Exp $
Don't require an absolute path for the install command.
--- build-tools/icon-theme-installer.orig Sun Apr 4 23:09:29 2010
+++ build-tools/icon-theme-installer Sun Apr 4 23:10:06 2010
@@ -103,12 +103,12 @@ if test -z "$INSTALL_BASE_DIR"; then
exit 1
fi
-if test ! -x `echo "$MKINSTALLDIRS_EXEC" | cut -f1 -d' '`; then
+if test -z "$MKINSTALLDIRS_EXEC"; then
echo "Cannot find '$MKINSTALLDIRS_EXEC'; You probably want to pass -m \$(mkinstalldirs)"
exit 1
fi
-if test ! -x `echo "$INSTALL_DATA_EXEC" | cut -f1 -d' '`; then
+if test -z "$INSTALL_DATA_EXEC"; then
echo "Cannot find '$INSTALL_DATA_EXEC'; You probably want to pass -x \$(INSTALL_DATA)"
exit 1
fi

View File

@ -0,0 +1,25 @@
$OpenBSD: patch-gattrib_po_Makefile_in_in,v 1.1.1.1 2010/04/11 22:22:40 edd Exp $
Don't use install(1) during build.
Make the timestamp not depend on $(DESKTOP_I18N_LOCALE_DIR) to prevent
extra recursion during install.
--- gattrib/po/Makefile.in.in.orig Mon Oct 5 03:38:14 2009
+++ gattrib/po/Makefile.in.in Mon Apr 5 17:14:07 2010
@@ -431,12 +431,11 @@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@
# the timestamp before *and* after running 'make install' so that the
# make doesn't go into an infinite loop!
all: stamp-i18n
-stamp-i18n: $(DESKTOP_I18N_LOCALE_DIR) stamp-po Makefile
+stamp-i18n: stamp-po Makefile
+ $(MKDIR_P) $(DESKTOP_I18N_LOCALE_DIR)
@echo timestamp > stamp-i18nT && mv stamp-i18nT stamp-i18n
- $(MAKE) prefix=$(DESKTOP_I18N_LOCALE_DIR) install && cp $(srcdir)/LINGUAS $(DESKTOP_I18N_LOCALE_DIR)/$(DOMAIN).LINGUAS || rm stamp-i18n
+ $(MAKE) prefix=$(DESKTOP_I18N_LOCALE_DIR) INSTALL_DATA=cp install && cp $(srcdir)/LINGUAS $(DESKTOP_I18N_LOCALE_DIR)/$(DOMAIN).LINGUAS || rm stamp-i18n
@echo timestamp > stamp-i18nT && mv stamp-i18nT stamp-i18n
-$(DESKTOP_I18N_LOCALE_DIR):
- $(MKDIR_P) $(DESKTOP_I18N_LOCALE_DIR)
clean: clean-i18n
clean-i18n:

View File

@ -0,0 +1,25 @@
$OpenBSD: patch-gschem_po_Makefile_in_in,v 1.1.1.1 2010/04/11 22:22:40 edd Exp $
Don't use install(1) during build.
Make the timestamp not depend on $(DESKTOP_I18N_LOCALE_DIR) to prevent
extra recursion during install.
--- gschem/po/Makefile.in.in.orig Mon Oct 5 03:38:14 2009
+++ gschem/po/Makefile.in.in Mon Apr 5 17:14:29 2010
@@ -431,12 +431,11 @@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@
# the timestamp before *and* after running 'make install' so that the
# make doesn't go into an infinite loop!
all: stamp-i18n
-stamp-i18n: $(DESKTOP_I18N_LOCALE_DIR) stamp-po Makefile
+stamp-i18n: stamp-po Makefile
+ $(MKDIR_P) $(DESKTOP_I18N_LOCALE_DIR)
@echo timestamp > stamp-i18nT && mv stamp-i18nT stamp-i18n
- $(MAKE) prefix=$(DESKTOP_I18N_LOCALE_DIR) install && cp $(srcdir)/LINGUAS $(DESKTOP_I18N_LOCALE_DIR)/$(DOMAIN).LINGUAS || rm stamp-i18n
+ $(MAKE) prefix=$(DESKTOP_I18N_LOCALE_DIR) INSTALL_DATA=cp install && cp $(srcdir)/LINGUAS $(DESKTOP_I18N_LOCALE_DIR)/$(DOMAIN).LINGUAS || rm stamp-i18n
@echo timestamp > stamp-i18nT && mv stamp-i18nT stamp-i18n
-$(DESKTOP_I18N_LOCALE_DIR):
- $(MKDIR_P) $(DESKTOP_I18N_LOCALE_DIR)
clean: clean-i18n
clean-i18n:

View File

@ -0,0 +1,25 @@
$OpenBSD: patch-libgeda_po_Makefile_in_in,v 1.1.1.1 2010/04/11 22:22:40 edd Exp $
Don't use install(1) during build.
Make the timestamp not depend on $(DESKTOP_I18N_LOCALE_DIR) to prevent
extra recursion during install.
--- libgeda/po/Makefile.in.in.orig Mon Oct 5 03:38:14 2009
+++ libgeda/po/Makefile.in.in Mon Apr 5 17:08:41 2010
@@ -431,12 +431,11 @@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@
# the timestamp before *and* after running 'make install' so that the
# make doesn't go into an infinite loop!
all: stamp-i18n
-stamp-i18n: $(DESKTOP_I18N_LOCALE_DIR) stamp-po Makefile
+stamp-i18n: stamp-po Makefile
+ $(MKDIR_P) $(DESKTOP_I18N_LOCALE_DIR)
@echo timestamp > stamp-i18nT && mv stamp-i18nT stamp-i18n
- $(MAKE) prefix=$(DESKTOP_I18N_LOCALE_DIR) install && cp $(srcdir)/LINGUAS $(DESKTOP_I18N_LOCALE_DIR)/$(DOMAIN).LINGUAS || rm stamp-i18n
+ $(MAKE) prefix=$(DESKTOP_I18N_LOCALE_DIR) INSTALL_DATA=cp install && cp $(srcdir)/LINGUAS $(DESKTOP_I18N_LOCALE_DIR)/$(DOMAIN).LINGUAS || rm stamp-i18n
@echo timestamp > stamp-i18nT && mv stamp-i18nT stamp-i18n
-$(DESKTOP_I18N_LOCALE_DIR):
- $(MKDIR_P) $(DESKTOP_I18N_LOCALE_DIR)
clean: clean-i18n
clean-i18n:

8
cad/geda-gaf/pkg/DESCR Normal file
View File

@ -0,0 +1,8 @@
The gEDA project has produced and continues working on a full GPL'd
suite and toolkit of Electronic Design Automation tools. These tools are
used for electrical circuit design, schematic capture, simulation,
prototyping, and production. Currently, the gEDA project offers a mature
suite of free software applications for electronics design, including
schematic capture, attribute management, bill of materials (BOM)
generation, netlisting into over 20 netlist formats, analog and digital
simulation, and printed circuit board (PCB) layout.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2010/04/11 22:22:40 edd Exp $
@lib lib/libgeda.so.${LIBgeda_VERSION}

2181
cad/geda-gaf/pkg/PLIST Normal file

File diff suppressed because it is too large Load Diff