diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/git/Makefile | 36 | ||||
-rw-r--r-- | devel/git/distinfo | 9 |
2 files changed, 35 insertions, 10 deletions
diff --git a/devel/git/Makefile b/devel/git/Makefile index 77c5f0500063..39957d441215 100644 --- a/devel/git/Makefile +++ b/devel/git/Makefile @@ -11,8 +11,8 @@ CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_KERNEL_ORG} MASTER_SITE_SUBDIR= software/scm/${PORTNAME} DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \ - ${PORTNAME}-manpages-${PORTVERSION}${EXTRACT_SUFX} \ - ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}.sign + ${PORTNAME}-manpages-${PORTVERSION}${EXTRACT_SUFX} +# We manually extract the htmldocs. EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}-manpages-${PORTVERSION}${EXTRACT_SUFX} @@ -221,9 +221,7 @@ PLIST_SUB+= CURL="@comment " .endif .ifdef (WITH_HTMLDOCS) -RUN_DEPENDS+= ${LOCALBASE}/bin/asciidoc:${PORTSDIR}/textproc/asciidoc \ - ${LOCALBASE}/bin/xsltproc:${PORTSDIR}/textproc/libxslt \ - ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl +DISTFILES+= ${PORTNAME}-htmldocs-${PORTVERSION}${EXTRACT_SUFX} PLIST_SUB+= HTMLDOCS="" .else PLIST_SUB+= HTMLDOCS="@comment " @@ -277,9 +275,26 @@ RUN_DEPENDS+= cvsps:${PORTSDIR}/devel/cvsps PLIST_SUB+= CVS="@comment " .endif -verify: checksum - @gpg --verify ${DISTDIR}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}.sign \ - ${DISTDIR}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} +.if defined(MAINTAINER_MODE) +DISTFILES+= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}.sign \ + ${PORTNAME}-manpages-${PORTVERSION}${EXTRACT_SUFX}.sign +.if defined(WITH_HTMLDOCS) +DISTFILES+= ${PORTNAME}-htmldocs-${PORTVERSION}${EXTRACT_SUFX}.sign +.endif +verify: fetch +.for FILE in ${DISTFILES:N*.sign} + @${ECHO_MSG} "Checking ${FILE}${EXTRACT_SUFX}" + @gpg --verify ${DISTDIR}/${FILE}${EXTRACT_SUFX}.sign ${DISTDIR}/${FILE}${EXTRACT_SUFX} 2>/dev/null || ${ECHO_MSG} "Bad signature!" +.endfor +.endif + +post-extract: +.if defined(WITH_HTMLDOCS) + @${MKDIR} ${WRKDIR}/htmldocs + @cd ${WRKDIR}/htmldocs && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \ + ${DISTDIR}/${PORTNAME}-htmldocs-${PORTVERSION}${EXTRACT_SUFX} \ + ${EXTRACT_AFTER_ARGS} +.endif post-patch: @${REINPLACE_CMD} -e 's|share/man/man3|man/man3|' ${WRKSRC}/perl/Makefile.PL @@ -315,8 +330,9 @@ post-install: ${INSTALL_MAN} ${WRKDIR}/man7/${i} ${MANPREFIX}/man/man7/ .endfor -.ifdef (WITH_HTMLDOCS) - ${GMAKE} -C ${WRKSRC} install-html ${MAKE_ENV} ${MAKE_ARGS} +.if defined(WITH_HTMLDOCS) + ${MKDIR} ${DOCSDIR} + (cd ${WRKDIR}/htmldocs/ && ${COPYTREE_SHARE} \* ${DOCSDIR}) .endif -${RM} -f ${PREFIX}/lib/perl5/${PERL_VERSION}/mach/perllocal.pod diff --git a/devel/git/distinfo b/devel/git/distinfo index 2c258e2fa108..d9ad2b7eead1 100644 --- a/devel/git/distinfo +++ b/devel/git/distinfo @@ -4,6 +4,15 @@ SIZE (git-1.7.0.4.tar.bz2) = 2441048 MD5 (git-manpages-1.7.0.4.tar.bz2) = 9730c5ed53a12788810ae3681fee149b SHA256 (git-manpages-1.7.0.4.tar.bz2) = d13461a388f34aef4ad32fd4103a345392aa503c57b461dd1098473d665cde3d SIZE (git-manpages-1.7.0.4.tar.bz2) = 272585 +MD5 (git-htmldocs-1.7.0.4.tar.bz2) = 8c5273d6161121bb127f6d4fa2294196 +SHA256 (git-htmldocs-1.7.0.4.tar.bz2) = 8f6572da459233cfe62c2373c1a081599e597b47704bd49a74a09384d07529c7 +SIZE (git-htmldocs-1.7.0.4.tar.bz2) = 862693 MD5 (git-1.7.0.4.tar.bz2.sign) = 9a5c6ba612c6b73d4af00b2c79ba69a5 SHA256 (git-1.7.0.4.tar.bz2.sign) = 5d6b1e8640d5bd1143c670d76c5abaa65954ead8755b8909f1ba86f2f6e38459 SIZE (git-1.7.0.4.tar.bz2.sign) = 248 +MD5 (git-manpages-1.7.0.4.tar.bz2.sign) = 12881ba3656a9ab8c8815789b0c39741 +SHA256 (git-manpages-1.7.0.4.tar.bz2.sign) = 52917cd5e0028e7d35fad7a5d6e9259b6330551a046c8ddff5dfd90b80d140cf +SIZE (git-manpages-1.7.0.4.tar.bz2.sign) = 248 +MD5 (git-htmldocs-1.7.0.4.tar.bz2.sign) = 951d03fb240a6c49276945bb1c67085f +SHA256 (git-htmldocs-1.7.0.4.tar.bz2.sign) = 1397cec4176ab1f05c1050d385eccbfe15d836b54159033c7ffaa7e307390d37 +SIZE (git-htmldocs-1.7.0.4.tar.bz2.sign) = 248 |