aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/ttyload
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-01-26 17:36:41 +0800
committerantoine <antoine@FreeBSD.org>2014-01-26 17:36:41 +0800
commitd40514d9695d5694f0bacb2e6d6d9124349e9ba7 (patch)
treeef0256d89acb6723c5b9c56c10b5b045877f5f71 /sysutils/ttyload
parent04ea36eeee224075c4d0731ed05d9225fdd14131 (diff)
downloadfreebsd-ports-gnome-d40514d9695d5694f0bacb2e6d6d9124349e9ba7.tar.gz
freebsd-ports-gnome-d40514d9695d5694f0bacb2e6d6d9124349e9ba7.tar.zst
freebsd-ports-gnome-d40514d9695d5694f0bacb2e6d6d9124349e9ba7.zip
- Finish stage support
- Add LICENSE instead of putting it in the DOCS
Diffstat (limited to 'sysutils/ttyload')
-rw-r--r--sysutils/ttyload/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/sysutils/ttyload/Makefile b/sysutils/ttyload/Makefile
index 4f8a67b270d8..a2caac31e6a8 100644
--- a/sysutils/ttyload/Makefile
+++ b/sysutils/ttyload/Makefile
@@ -3,27 +3,28 @@
PORTNAME= ttyload
PORTVERSION= 0.5.3
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.daveltd.com/src/util/ttyload/
MAINTAINER= dhn@FreeBSD.org
COMMENT= Give a color-coded graph of load averages over time
+LICENSE= ISCL
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
ALL_TARGET= default
USE_BZIP2= yes
-PLIST_FILES= bin/ttyload
-MAN1= ttyload.1
+PLIST_FILES= bin/ttyload man/man1/ttyload.1.gz
+PORTDOCS= README
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE= DOCS
do-install:
-.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/README
- ${INSTALL_DATA} ${WRKSRC}/LICENSE ${STAGEDIR}${DOCSDIR}/LICENSE
-.endif
- ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${STAGEDIR}${MANPREFIX}/man/man1/
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/ttyload.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>