aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-07-07 18:24:03 +0800
committerbapt <bapt@FreeBSD.org>2014-07-07 18:24:03 +0800
commitbf157be3e15820caf30da92526bb9790008105eb (patch)
tree43c38985f5f711be05ea01e07351c34355d75c78 /devel
parent60ac08b9fb184553f589bb9dd5a84eaf70d6bbd1 (diff)
downloadfreebsd-ports-gnome-bf157be3e15820caf30da92526bb9790008105eb.tar.gz
freebsd-ports-gnome-bf157be3e15820caf30da92526bb9790008105eb.tar.zst
freebsd-ports-gnome-bf157be3e15820caf30da92526bb9790008105eb.zip
Add proper distinfo information
Support stage PR: 191686 Submitted by: A.J. "Fonz" van Werven (freebsd@skysmurf.nl)
Diffstat (limited to 'devel')
-rw-r--r--devel/root-doc/Makefile21
-rw-r--r--devel/root-doc/distinfo3
2 files changed, 11 insertions, 13 deletions
diff --git a/devel/root-doc/Makefile b/devel/root-doc/Makefile
index 1d791e1382be..c953ce5de8cb 100644
--- a/devel/root-doc/Makefile
+++ b/devel/root-doc/Makefile
@@ -7,26 +7,23 @@ CATEGORIES= devel science math
MASTER_SITES= ftp://root.cern.ch/root/
DISTNAME= html${PORTVERSION:S/.//}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= HTML Documentation for Root framework
NO_BUILD= yes
WRKSRC= ${WRKDIR}/htmldoc
PLIST= ${WRKDIR}/pkg-plist
-BROKEN= no distinfo provided
-.ifdef NOPORTDOCS
-IGNORE= This package contains only documentation
-.endif
-
-NO_STAGE= yes
pre-install:
- cd ${WRKSRC} && ${FIND} . \( -type f -or -type l \) -exec ${ECHO_CMD} "%%DOCSDIR%%/{}" \; > ${PLIST}
- cd ${WRKSRC} && ${FIND} -d . -mindepth 1 -type d -exec ${ECHO_CMD} "@dirrm %%DOCSDIR%%/{}" \; >> ${PLIST}
- ${ECHO_CMD} "@dirrm %%DOCSDIR%%" >> ${PLIST}
+ cd ${WRKSRC} && ${FIND} . \( -type f -or -type l \) -exec ${ECHO_CMD} \
+ "%%DOCSDIR%%/{}" \; > ${PLIST}.tmp
+ cd ${WRKSRC} && ${FIND} -d . -mindepth 1 -type d -exec ${ECHO_CMD} \
+ "@dirrm %%DOCSDIR%%/{}" \; >> ${PLIST}.tmp
+ ${ECHO_CMD} "@dirrm %%DOCSDIR%%" >> ${PLIST}.tmp
+ ${SED} -e "s/\/\.\//\//" ${PLIST}.tmp > ${PLIST}
do-install:
- ${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${FIND} . | ${CPIO} -pdm -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/devel/root-doc/distinfo b/devel/root-doc/distinfo
index 22426665cf7e..b091ff4566f8 100644
--- a/devel/root-doc/distinfo
+++ b/devel/root-doc/distinfo
@@ -1 +1,2 @@
-SHA256 (html502.tar.gz) = IGNORE
+SHA256 (html502.tar.gz) = e92b1516d11a6d8f1255d23afb3ea2a5e7d0048f2c5ea40811cece6fba0cd18d
+SIZE (html502.tar.gz) = 24575958