aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>