aboutsummaryrefslogtreecommitdiff
path: root/cad/geda
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-07-16 03:42:23 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-07-16 03:42:23 +0000
commitcff94b9aa19787e94714beb2decf5550f94435c7 (patch)
tree49806c3e519f1bce2755a6836bc8d8a53d1182e8 /cad/geda
parent02f607294d054fd0c85c87620c53e0782d9dea95 (diff)
downloadports-cff94b9aa19787e94714beb2decf5550f94435c7.tar.gz
ports-cff94b9aa19787e94714beb2decf5550f94435c7.zip
Notes
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>