| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.18 2015/05/22 14:01:16 hauke Exp $ | | 1 | # $NetBSD: Makefile,v 1.19 2015/05/22 14:23:41 hauke Exp $ |
2 | | | 2 | |
3 | PYBLOXSOMVERS= 1.5.3 | | 3 | PYBLOXSOMVERS= 1.5.3 |
4 | DISTNAME= pyblosxom-${PYBLOXSOMVERS} | | 4 | DISTNAME= pyblosxom-${PYBLOXSOMVERS} |
5 | PKGNAME= ${PYPKGPREFIX}-blosxom-${PYBLOXSOMVERS} | | 5 | PKGNAME= ${PYPKGPREFIX}-blosxom-${PYBLOXSOMVERS} |
6 | PKGREVISION= 2 | | 6 | PKGREVISION= 2 |
7 | CATEGORIES= www | | 7 | CATEGORIES= www |
8 | MASTER_SITES= http://pyblosxom.github.com/download/ | | 8 | MASTER_SITES= http://pyblosxom.github.com/download/ |
9 | | | 9 | |
10 | MAINTAINER= hauke@NetBSD.org | | 10 | MAINTAINER= hauke@NetBSD.org |
11 | HOMEPAGE= http://pyblosxom.github.com/ | | 11 | HOMEPAGE= http://pyblosxom.github.com/ |
12 | COMMENT= PyBlosxom is a lightweight file-based weblog system | | 12 | COMMENT= PyBlosxom is a lightweight file-based weblog system |
13 | | | 13 | |
14 | LICENSE= mit | | 14 | LICENSE= mit |
| @@ -19,23 +19,27 @@ USE_LANGUAGES= #none | | | @@ -19,23 +19,27 @@ USE_LANGUAGES= #none |
19 | | | 19 | |
20 | DOC_SUBDIR= share/doc/pyblosxom | | 20 | DOC_SUBDIR= share/doc/pyblosxom |
21 | DOCDIR= ${PREFIX}/${DOC_SUBDIR} | | 21 | DOCDIR= ${PREFIX}/${DOC_SUBDIR} |
22 | DOCFILES= AUTHORS INSTALL LICENSE README.rst UPGRADE WHATSNEW | | 22 | DOCFILES= AUTHORS INSTALL LICENSE README.rst UPGRADE WHATSNEW |
23 | | | 23 | |
24 | BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils>=0.12:../../textproc/py-docutils | | 24 | BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils>=0.12:../../textproc/py-docutils |
25 | | | 25 | |
26 | INSTALLATION_DIRS= ${DOC_SUBDIR} | | 26 | INSTALLATION_DIRS= ${DOC_SUBDIR} |
27 | | | 27 | |
28 | REPLACE_PYTHON= Pyblosxom/data/pyblosxom.cgi | | 28 | REPLACE_PYTHON= Pyblosxom/data/pyblosxom.cgi |
29 | | | 29 | |
30 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 | | 30 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 |
31 | | | 31 | |
| | | 32 | pre-configure: |
| | | 33 | cd ${WRKSRC} && ${FIND} Pyblosxom -type f -name '*.orig' \ |
| | | 34 | -exec ${RM} -f \{\} \; |
| | | 35 | |
32 | # There is a set of manual files in docs/source that could be | | 36 | # There is a set of manual files in docs/source that could be |
33 | # converted to HTML or PDF, and installed | | 37 | # converted to HTML or PDF, and installed |
34 | post-install: | | 38 | post-install: |
35 | .for f in ${DOCFILES} | | 39 | .for f in ${DOCFILES} |
36 | ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${DOCDIR}/${f} | | 40 | ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${DOCDIR}/${f} |
37 | .endfor | | 41 | .endfor |
38 | | | 42 | |
39 | .include "../../lang/python/application.mk" | | 43 | .include "../../lang/python/application.mk" |
40 | .include "../../lang/python/egg.mk" | | 44 | .include "../../lang/python/egg.mk" |
41 | .include "../../mk/bsd.pkg.mk" | | 45 | .include "../../mk/bsd.pkg.mk" |