pkgsrc-wip/ap-chxj/Makefile
OBATA Akio 6a96182c39 Import mod-chxj version 0.8.2.
CHTML to HDML,XHTML,JHTML convert module.
The contents conversion middleware for domestic main carrying (three careers)
is made as a module for Apache2.0. UserAgent is seen when contents made with
CHTML are output and it converts it into HDML, XHTML, and JHTML (The image :
to JPG, GIF, JPG, GIF from PNG, and PNG and BMP). With QR code generation
function.
2008-02-08 13:11:48 +00:00

48 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2008/02/08 13:11:48 obache Exp $
#
DISTNAME= mod-chxj_0.8.2
PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/mod-//:S/_/-/}
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP:=modchxj/29236/}
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/modchxj/mod_chxj/doc/modchxj.html?rev=HEAD
COMMENT= CHTML to HDML,XHTML,JHTML convert module for apache2
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
PKG_APACHE_ACCEPTED= apache2 apache22
PKG_SYSCONFSUBDIR= httpd/chxj
CONFIGURE_ARGS+= --with-apxs=${APXS}
CONFIGURE_ARGS+= --with-apache-header=${BUILDLINK_PREFIX.apache}/include/httpd
CONFIGURE_ENV+= ac_cv_path_LIBTOOL=${LIBTOOL:Q}
CONFIGURE_ENV+= WAND_CONFIG=${BUILDLINK_PREFIX.ImageMagick}/bin/Wand-config
CONFIGURE_ENV+= APR_CONFIG=${BUILDLINK_DIR}/bin/apr-config
CONFIGURE_ENV+= APU_CONFIG=${BUILDLINK_DIR}/bin/apu-config
EGDIR= share/examples/mod_chxj
EGFILES= device_data.xml emoji.xml
DOCDIR= share/doc/mod_chxj
DOCS= modchxj.html
.for f in ${EGFILES}
CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
.endfor
INSTALLATION_DIRS= ${DOCDIR} ${EGDIR}
post-install:
.for f in ${EGFILES}
${INSTALL_DATA} ${WRKSRC}/etc/${f} ${PREFIX}/${EGDIR}
.endfor
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${PREFIX}/${DOCDIR}
.endfor
.include "../../converters/libiconv/buildlink3.mk"
.include "../../graphics/ImageMagick/buildlink3.mk"
.include "../../mk/apache.mk"
.include "../../mk/bsd.pkg.mk"