diff options
author | miwi <miwi@FreeBSD.org> | 2011-11-27 17:53:04 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2011-11-27 17:53:04 +0800 |
commit | 4f2e4eb04ab4af687945f501dd429b9db0990b01 (patch) | |
tree | 7038bcd445e550d044155e34beb09618f69a8bcd /cad/gnucap/Makefile | |
parent | 1fd33ac7b28a6c81ab913146cb88d13f15ab93b8 (diff) | |
download | freebsd-ports-gnome-4f2e4eb04ab4af687945f501dd429b9db0990b01.tar.gz freebsd-ports-gnome-4f2e4eb04ab4af687945f501dd429b9db0990b01.tar.zst freebsd-ports-gnome-4f2e4eb04ab4af687945f501dd429b9db0990b01.zip |
- Update to version 2009.12.07
PR: 162852
Submitted by: Ports Fury
Feature safe: yes
Diffstat (limited to 'cad/gnucap/Makefile')
-rw-r--r-- | cad/gnucap/Makefile | 41 |
1 files changed, 30 insertions, 11 deletions
diff --git a/cad/gnucap/Makefile b/cad/gnucap/Makefile index 07c029f5d88a..4f1f133abed6 100644 --- a/cad/gnucap/Makefile +++ b/cad/gnucap/Makefile @@ -7,8 +7,7 @@ # PORTNAME= gnucap -PORTVERSION= 2008.06.08 -PORTREVISION= 1 +PORTVERSION= 2009.12.07 CATEGORIES= cad MASTER_SITES= http://www.gnucap.org/devel/ \ http://www.gnucap.org/devel/archive/ @@ -17,18 +16,38 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/./-/g} MAINTAINER= ports@FreeBSD.org COMMENT= The GNU Circuit Analysis Package +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --docdir=${PREFIX}/share/doc/${PORTNAME} - -OPTIONS= READLINE "Enable commandline features via readline" on +MAKE_JOBS_SAFE= yes MAN1= gnucap.1 gnucap-ibis.1 - -.include <bsd.port.pre.mk> - -.if !defined(WITHOUT_READLINE) || exists(${LOCALBASE}/lib/libreadline.so.6) -LIB_DEPENDS+= readline.6:${PORTSDIR}/devel/readline +PORTDOCS= * +PORTEXAMPLES= * +PLIST_FILES= bin/gnucap bin/gnucap-modelgen + +post-patch: + ${REINPLACE_CMD} -e \ + '/^SUBDIRS/s|doc examples||' ${WRKSRC}/Makefile.in + +post-install: + ${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${MANPREFIX}/man/man1 +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/acs-tutorial ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/history ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/relnotes.* ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/whatisit ${DOCSDIR} +.endif +.if !defined(NOPORTEXAMPLES) + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/README ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/runall ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/*.c ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/*.ckt ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/*.doc ${EXAMPLESDIR} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |