aboutsummaryrefslogtreecommitdiffstats
path: root/cad/cascade
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-16 19:45:15 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-16 19:45:15 +0800
commit24caf615094d36f094b087c9521ec6c217fadcc3 (patch)
tree5aae99e316a3c46d7e34143b8793b764548c12cc /cad/cascade
parent74c11866aa17e634c2ff30235a763bfa9d10a0f0 (diff)
downloadfreebsd-ports-gnome-24caf615094d36f094b087c9521ec6c217fadcc3.tar.gz
freebsd-ports-gnome-24caf615094d36f094b087c9521ec6c217fadcc3.tar.zst
freebsd-ports-gnome-24caf615094d36f094b087c9521ec6c217fadcc3.zip
Support staging
Diffstat (limited to 'cad/cascade')
-rw-r--r--cad/cascade/Makefile28
1 files changed, 9 insertions, 19 deletions
diff --git a/cad/cascade/Makefile b/cad/cascade/Makefile
index c28e0273155e..c3feb8bc52b5 100644
--- a/cad/cascade/Makefile
+++ b/cad/cascade/Makefile
@@ -10,30 +10,20 @@ MASTER_SITE_SUBDIR= rfcascade/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A simple tool to analyze noise and distortion of a RF system
-GNU_CONFIGURE= YES
+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
-
-NO_STAGE= yes
+PLIST_FILES= bin/cascade man/man1/cascade.1.gz
OPTIONS_DEFINE= DOCS EXAMPLES
-.include <bsd.port.options.mk>
-
do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/cascade ${PREFIX}/bin
- @${INSTALL_MAN} ${WRKSRC}/cascade.1 ${MANPREFIX}/man/man1
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- @${INSTALL_DATA} ${WRKSRC}/examples/* \
- ${WRKSRC}/cascade-mode.el ${EXAMPLESDIR}
-.endif
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- @cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
+ ${INSTALL_SCRIPT} ${WRKSRC}/cascade ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/cascade.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/* \
+ ${WRKSRC}/cascade-mode.el ${STAGEDIR}${EXAMPLESDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>