aboutsummaryrefslogtreecommitdiffstats
path: root/cad/geda
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-07-16 11:42:23 +0800
committerrafan <rafan@FreeBSD.org>2006-07-16 11:42:23 +0800
commit965657c1d14596e6adf26ed8adf2a0d1fd74bac0 (patch)
tree5fcb6cfeb8a1b41d5b2928cfd2c7b913dcb78fab /cad/geda
parent2994bd843c6335d271dfda6f0b159c11aee06015 (diff)
downloadfreebsd-ports-gnome-965657c1d14596e6adf26ed8adf2a0d1fd74bac0.tar.gz
freebsd-ports-gnome-965657c1d14596e6adf26ed8adf2a0d1fd74bac0.tar.zst
freebsd-ports-gnome-965657c1d14596e6adf26ed8adf2a0d1fd74bac0.zip
- Fix installdirs to address geda directory structure unification [1]
- add options to select docs/examples [1] - Bump PORTREVISION [1] - Chase rename of cad/gschem [2] and cad/gnetlist [3] PR: ports/100228 [1], ports/100222 [2], ports/100230 [3] Submitted by: maintainer
Diffstat (limited to 'cad/geda')
-rw-r--r--cad/geda/Makefile18
1 files changed, 15 insertions, 3 deletions
diff --git a/cad/geda/Makefile b/cad/geda/Makefile
index dbb03f042b5f..ec1989f8379e 100644
--- a/cad/geda/Makefile
+++ b/cad/geda/Makefile
@@ -7,6 +7,7 @@
PORTNAME= geda
PORTVERSION= 20060123
+PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= # empty
DISTFILES= # none
@@ -15,9 +16,9 @@ EXTRACT_ONLY= # empty
MAINTAINER= ssedov@mbsd.msk.ru
COMMENT= The "meta-port" for gEDA
-RUN_DEPENDS= ${LOCALBASE}/share/gEDA/sym:${PORTSDIR}/cad/geda-symbols \
- gschem:${PORTSDIR}/cad/gschem \
- gnetlist:${PORTSDIR}/cad/gnetlist \
+RUN_DEPENDS= ${DATADIR}/sym:${PORTSDIR}/cad/geda-symbols \
+ gschem:${PORTSDIR}/cad/geda-gschem \
+ gnetlist:${PORTSDIR}/cad/geda-netlist \
gmk_sym:${PORTSDIR}/cad/geda-utils \
gsymcheck:${PORTSDIR}/cad/geda-symcheck \
gattrib:${PORTSDIR}/cad/geda-gattrib \
@@ -25,6 +26,17 @@ RUN_DEPENDS= ${LOCALBASE}/share/gEDA/sym:${PORTSDIR}/cad/geda-symbols \
NO_BUILD= yes
+OPTIONS= EXAMPLES "Install gEDA's examples" on \
+ DOCS "Install gEDA's documentation" on
+
+.if !defined(WITHOUT_EXAMPLES)
+RUN_DEPENDS+= ${EXAMPLESDIR}/README:${PORTSDIR}/cad/geda-examples
+.endif
+
+.if !defined(WITHOUT_DOCS)
+RUN_DEPENDS+= ${DOCSDIR}/attributes/index.html:${PORTSDIR}/cad/geda-docs
+.endif
+
do-install: # empty
.include <bsd.port.mk>