pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/stgit Simplify package, reorder lines to be more...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/776eb7be53f6
branches:  trunk
changeset: 355430:776eb7be53f6
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Dec 01 15:19:20 2016 +0000

description:
Simplify package, reorder lines to be more standard, update py3 comment.

diffstat:

 devel/stgit/Makefile |  29 ++++++-----------------------
 1 files changed, 6 insertions(+), 23 deletions(-)

diffs (57 lines):

diff -r 621025bf9e20 -r 776eb7be53f6 devel/stgit/Makefile
--- a/devel/stgit/Makefile      Thu Dec 01 15:03:21 2016 +0000
+++ b/devel/stgit/Makefile      Thu Dec 01 15:19:20 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2016/07/09 13:03:45 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2016/12/01 15:19:20 wiz Exp $
 
 DISTNAME=      stgit-0.17.1
 PKGREVISION=   11
@@ -10,7 +10,8 @@
 COMMENT=       Stacked GIT
 LICENSE=       gnu-gpl-v2
 
-BUILD_DEPENDS+=        asciidoc-[0-9]*:../../textproc/asciidoc
+BUILD_DEPENDS+=        asciidoc>=8:../../textproc/asciidoc
+BUILD_DEPENDS+=        docbook-xsl>=1.72:../../textproc/docbook-xsl
 BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
 DEPENDS+=      git-base>=1.5.2:../../devel/git-base
 
@@ -23,29 +24,9 @@
 
 REPLACE_PYTHON=        *.py stgit/*.py stg
 PYSETUPINSTALLARGS=    --prefix=${PREFIX}
-PYTHON_VERSIONS_INCOMPATIBLE=  34 35 # not yet ported as of 0.14.3
+PYTHON_VERSIONS_INCOMPATIBLE=  34 35 # not yet ported as of 0.17.1
 
 MAKE_ENV+=     ASCIIDOC=${PREFIX}/bin/asciidoc
-MAKE_ENV+=     ASCIIDOC_EXTRA=${ASCIIDOC_EXTRA:M*:Q}
-
-.include "../../mk/bsd.prefs.mk"
-
-.for d in asciidoc docbook-xsl
-GITDOCDEP.${d}=        ${${${PKG_INFO} -E ${d} || echo:L:sh}:L:C/[^[0-9]]*/ /g:[1..3]:ts.}
-.endfor
-
-ASCIIDOC_EXTRA=        # empty
-
-.if !empty(GITDOCDEP.asciidoc:M[8]*)
-ASCIIDOC_EXTRA+= -a ascidoc7compatible
-.endif
-
-.if !empty(GITDOCDEP.docbook-xsl:M1.7[2-9]*)
-ASCIIDOC_EXTRA+= -a docbook-xsl-172
-.endif
-
-.include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
 
 pre-build:
        cd ${WRKSRC}/Documentation && \
@@ -62,4 +43,6 @@
        ${INSTALL_MAN} *.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && \
        ${INSTALL_DATA} *.html ${DESTDIR}/${PREFIX}/share/doc/${PKGBASE}/html
 
+.include "../../lang/python/application.mk"
+.include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index