diff options
author | hrs <hrs@FreeBSD.org> | 2011-01-06 00:31:03 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2011-01-06 00:31:03 +0800 |
commit | 585e1589045c7093d991b17f500ff7220e541ec3 (patch) | |
tree | 98fd9d1cf44340530c124bb0ad5a3bc1dfed0816 | |
parent | 39a8a012638656dcfb30b267ce354e5233f793d8 (diff) | |
download | freebsd-ports-gnome-585e1589045c7093d991b17f500ff7220e541ec3.tar.gz freebsd-ports-gnome-585e1589045c7093d991b17f500ff7220e541ec3.tar.zst freebsd-ports-gnome-585e1589045c7093d991b17f500ff7220e541ec3.zip |
- Fix style.
- Take maintainership.
-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%% |