diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-05-19 16:04:57 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-05-19 16:04:57 +0800 |
commit | 031ffeec95eda591c680ae6be81cf4508e73df9d (patch) | |
tree | 005704d6ceb5edefbd42241eca0b485d0bbed3f4 | |
parent | ebdc17aba8742884022ea60bc4e76073fd89868c (diff) | |
download | freebsd-ports-gnome-031ffeec95eda591c680ae6be81cf4508e73df9d.tar.gz freebsd-ports-gnome-031ffeec95eda591c680ae6be81cf4508e73df9d.tar.zst freebsd-ports-gnome-031ffeec95eda591c680ae6be81cf4508e73df9d.zip |
Support staging.
Approved by: portmgr@
-rw-r--r-- | databases/rrdmerge/Makefile | 20 | ||||
-rw-r--r-- | databases/rrdmerge/pkg-plist | 3 |
2 files changed, 13 insertions, 10 deletions
diff --git a/databases/rrdmerge/Makefile b/databases/rrdmerge/Makefile index dc8ca87b4987..fae29a35b759 100644 --- a/databases/rrdmerge/Makefile +++ b/databases/rrdmerge/Makefile @@ -10,20 +10,26 @@ DISTNAME= ${PORTNAME}-${GITREVISION} EXTRACT_SUFX= .tbz2 MAINTAINER= sobomax@FreeBSD.org -COMMENT= An utility to merge existing RRD data from backups into new RRD files +COMMENT= Utility to merge existing RRD data from backups into new RRD files RUN_DEPENDS= rrdtool:${PORTSDIR}/databases/rrdtool +USES= tar:bzip2 shebangfix +SHEBANG_FILES= rrdmergetree GITREVISION= b05d69bfac64 -USE_BZIP2= yes USE_PYTHON= yes +bash_CMD= /bin/sh NO_BUILD= yes +PLIST_FILES= bin/${PORTNAME} bin/${PORTNAME}tree + +PORTDOCS= * -NO_STAGE= yes do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/rrdmerge ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/rrdmergetree ${PREFIX}/bin - ${MKDIR} ${PREFIX}/share/doc/${PORTNAME} - ${INSTALL_MAN} ${WRKSRC}/README.rst ${PREFIX}/share/doc/${PORTNAME} + ${INSTALL_SCRIPT} ${WRKSRC}/rrdmerge ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/rrdmergetree ${STAGEDIR}${PREFIX}/bin +.ifndef(NOPORTDOCS) + ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/${PORTNAME} + ${INSTALL_MAN} ${WRKSRC}/README.rst ${STAGEDIR}${PREFIX}/share/doc/${PORTNAME} +.endif .include <bsd.port.mk> diff --git a/databases/rrdmerge/pkg-plist b/databases/rrdmerge/pkg-plist deleted file mode 100644 index f10057f76000..000000000000 --- a/databases/rrdmerge/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/rrdmerge -bin/rrdmergetree -share/doc/rrdmerge/README.rst |