diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2011-01-05 16:31:03 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2011-01-05 16:31:03 +0000 |
commit | c914a9bd8b9e3acf1393b64ca4ecbd1537a7eca5 (patch) | |
tree | ac00f8a942c122583909b770c16a3d7fadf69080 /cad/cascade | |
parent | 26e3b95561b42c7ebb37dbee956090db100b66ea (diff) | |
download | ports-c914a9bd8b9e3acf1393b64ca4ecbd1537a7eca5.tar.gz ports-c914a9bd8b9e3acf1393b64ca4ecbd1537a7eca5.zip |
Notes
Diffstat (limited to 'cad/cascade')
-rw-r--r-- | cad/cascade/Makefile | 21 | ||||
-rw-r--r-- | cad/cascade/distinfo | 1 | ||||
-rw-r--r-- | cad/cascade/pkg-plist | 10 |
3 files changed, 12 insertions, 20 deletions
diff --git a/cad/cascade/Makefile b/cad/cascade/Makefile index 0a5d71bec05b..d4f8f739d008 100644 --- a/cad/cascade/Makefile +++ b/cad/cascade/Makefile @@ -8,27 +8,30 @@ PORTNAME= cascade PORTVERSION= 1.4 CATEGORIES= cad -MASTER_SITES= SF/rfcascade/${PORTNAME}/${PORTNAME}-${PORTVERSION} +MASTER_SITES= SF +MASTER_SITE_SUBDIR= rfcascade/${PORTNAME}/${PORTNAME}-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= hrs@FreeBSD.org COMMENT= A simple tool to analyze noise and distortion of a RF system GNU_CONFIGURE= YES +PORTDOCS= ex1.gif index.html +PORTEXAMPLES= README.examples ex1.cas ex1.gif ex1.out cascade-mode.el +PLIST_FILES= bin/cascade MAN1= cascade.1 do-install: @${INSTALL_SCRIPT} ${WRKSRC}/cascade ${PREFIX}/bin @${INSTALL_MAN} ${WRKSRC}/cascade.1 ${MANPREFIX}/man/man1 - @${MKDIR} ${PREFIX}/share/examples/${PORTNAME} +.if !defined(NOPORTEXAMPLES) + @${MKDIR} ${EXAMPLESDIR} @${INSTALL_DATA} ${WRKSRC}/examples/* \ - ${PREFIX}/share/examples/${PORTNAME} - @${INSTALL_DATA} ${WRKSRC}/cascade-mode.el \ - ${PREFIX}/share/emacs/site-lisp + ${WRKSRC}/cascade-mode.el ${EXAMPLESDIR} +.endif .if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/${PORTNAME} - @${INSTALL_DATA} ${WRKSRC}/doc/* \ - ${PREFIX}/share/doc/${PORTNAME} + @${MKDIR} ${DOCSDIR} + @cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/cad/cascade/distinfo b/cad/cascade/distinfo index 121ab333e883..6675ba70e83b 100644 --- a/cad/cascade/distinfo +++ b/cad/cascade/distinfo @@ -1,3 +1,2 @@ -MD5 (cascade-1.4.tar.gz) = e6be4843125536af6e2992c675c838ba SHA256 (cascade-1.4.tar.gz) = 0bcf3e806632c1bab9b7f08fc2f15dedd37d4ede2b898f7b7e826a6fcf28ed9c SIZE (cascade-1.4.tar.gz) = 32106 diff --git a/cad/cascade/pkg-plist b/cad/cascade/pkg-plist deleted file mode 100644 index a2e831c4826c..000000000000 --- a/cad/cascade/pkg-plist +++ /dev/null @@ -1,10 +0,0 @@ -bin/cascade -%%PORTDOCS%%%%DOCSDIR%%/ex1.gif -%%PORTDOCS%%%%DOCSDIR%%/index.html -share/emacs/site-lisp/cascade-mode.el -share/examples/cascade/README.examples -share/examples/cascade/ex1.cas -share/examples/cascade/ex1.gif -share/examples/cascade/ex1.out -@dirrm share/examples/cascade -%%PORTDOCS%%@dirrm %%DOCSDIR%% |