2003-07-21 19:33:10 +02:00
|
|
|
# $NetBSD: Makefile,v 1.3 2003/07/21 17:33:13 marttikuparinen Exp $
|
2003-06-22 15:48:41 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= ht2html-2.0
|
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ht2html/}
|
|
|
|
|
|
|
|
MAINTAINER= marc@informatik.uni-bremen.de
|
|
|
|
HOMEPAGE= http://ht2html.sourceforge.net/
|
2003-07-21 19:33:10 +02:00
|
|
|
COMMENT= Simple web page templating system
|
2003-06-22 15:48:41 +02:00
|
|
|
|
|
|
|
USE_BUILDLINK2= yes
|
|
|
|
PY_PATCHPLIST= yes
|
|
|
|
|
|
|
|
PYTHON_PATCH_SCRIPTS= ht2html.py
|
|
|
|
|
2003-06-23 02:10:07 +02:00
|
|
|
EGDIR= ${PREFIX}/share/examples/ht2html
|
|
|
|
EGFILES= BAWGenerator.py JPyLocalGenerator.py
|
|
|
|
EGFILES+= IPC8Generator.py PDOGenerator.py
|
|
|
|
EGFILES+= JPyGenerator.py SelfGenerator.py
|
|
|
|
|
|
|
|
LIBFILES= Banner.* HTParser.* LinkFixer.*
|
|
|
|
LIBFILES+= Sidebar.* Skeleton.* StandardGenerator.*
|
2003-06-22 15:48:41 +02:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
${PYTHONBIN} ${PREFIX}/${PYLIB}/compileall.py \
|
2003-06-23 02:10:07 +02:00
|
|
|
${PY_COMPILE_EXCLUDE} ${WRKSRC}
|
2003-06-22 15:48:41 +02:00
|
|
|
${PYTHONBIN} -O ${PREFIX}/${PYLIB}/compileall.py \
|
2003-06-23 02:10:07 +02:00
|
|
|
${PY_COMPILE_EXCLUDE} ${WRKSRC}
|
2003-06-22 15:48:41 +02:00
|
|
|
|
|
|
|
do-install:
|
2003-06-23 02:10:07 +02:00
|
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
|
|
cd ${WRKSRC}/doc && ${PAX} -rw -pp -pm . ${EGDIR}
|
|
|
|
for egfile in ${EGFILES}; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$${egfile} ${EGDIR}; \
|
|
|
|
done
|
|
|
|
for libfile in ${LIBFILES}; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$${libfile} \
|
|
|
|
${PREFIX}/${PYSITELIB}; \
|
|
|
|
done
|
2003-06-22 15:48:41 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ht2html.py ${PREFIX}/bin
|
|
|
|
|
|
|
|
.include "../../lang/python/application.mk"
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|