summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-12-01 15:19:20 +0000
committerwiz <wiz@pkgsrc.org>2016-12-01 15:19:20 +0000
commit99041d4301e8ab90b23dca6c53bdfbc885f6f75e (patch)
tree03ec66a0dbf0aea125d175023e3a540151dad3bc /devel
parentf1ec4b6f920a35b7f279782dce4d44043c165066 (diff)
downloadpkgsrc-99041d4301e8ab90b23dca6c53bdfbc885f6f75e.tar.gz
Simplify package, reorder lines to be more standard, update py3 comment.
Diffstat (limited to 'devel')
-rw-r--r--devel/stgit/Makefile29
1 files changed, 6 insertions, 23 deletions
diff --git a/devel/stgit/Makefile b/devel/stgit/Makefile
index d35d9e99e84..da187c09450 100644
--- a/devel/stgit/Makefile
+++ b/devel/stgit/Makefile
@@ -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 @@ HOMEPAGE= http://www.procode.org/stgit/
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_BASH= contrib/stg-*
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 @@ post-install:
${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"