aboutsummaryrefslogtreecommitdiff
path: root/cad/cascade
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2011-01-05 16:31:03 +0000
committerHiroki Sato <hrs@FreeBSD.org>2011-01-05 16:31:03 +0000
commitc914a9bd8b9e3acf1393b64ca4ecbd1537a7eca5 (patch)
treeac00f8a942c122583909b770c16a3d7fadf69080 /cad/cascade
parent26e3b95561b42c7ebb37dbee956090db100b66ea (diff)
downloadports-c914a9bd8b9e3acf1393b64ca4ecbd1537a7eca5.tar.gz
ports-c914a9bd8b9e3acf1393b64ca4ecbd1537a7eca5.zip
Notes
Diffstat (limited to 'cad/cascade')
-rw-r--r--cad/cascade/Makefile21
-rw-r--r--cad/cascade/distinfo1
-rw-r--r--cad/cascade/pkg-plist10
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%%