- Fix installdirs to address geda directory structure unification - add options to select docs/examples Note: this also depends on geda-symbols PR
Responsible Changed From-To: freebsd-ports-bugs->rafan Eat.
Updated diff that takes into account repocopy changes. -------------------------------------------------------- diff -ruN --exclude=CVS /tmp/ports/cad/geda/Makefile geda/Makefile --- /tmp/ports/cad/geda/Makefile Wed Jun 28 11:51:26 2006 +++ geda/Makefile Fri Jul 14 22:22:22 2006 @@ -7,6 +7,7 @@ PORTNAME= geda PORTVERSION= 20060123 +PORTREVISION= 1 CATEGORIES= cad MASTER_SITES= # empty DISTFILES= # none @@ -15,15 +16,26 @@ 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 \ geda:${PORTSDIR}/cad/geda-projectmanager 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 --------------------------------------------------------
State Changed From-To: open->closed Committed. Thanks!