3596fb2a5b
ok ajacoutot@
40 lines
890 B
Makefile
40 lines
890 B
Makefile
# $OpenBSD: Makefile,v 1.2 2009/06/03 00:48:51 pyr Exp $
|
|
|
|
COMMENT= Apache module for non-ascii filename interoperability
|
|
|
|
DISTNAME= mod_encoding-20021209
|
|
PKGNAME= ${DISTNAME}p0
|
|
CATEGORIES= www converters
|
|
|
|
HOMEPAGE= http://webdav.todo.gr.jp/
|
|
|
|
# Apache-like
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${HOMEPAGE}download/
|
|
|
|
SUBST_VARS= PKGNAME
|
|
|
|
MODULES= apache-module \
|
|
converters/libiconv
|
|
|
|
MODAPACHE_NAME= encoding
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && /usr/sbin/apxs -Wc,"${CFLAGS}" -I${LOCALBASE}/include -c mod_encoding.c \
|
|
-L${LOCALBASE}/lib -liconv -o ${WRKBUILD}/mod_encoding.so
|
|
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_encoding
|
|
${INSTALL_DATA} ${WRKSRC}/README \
|
|
${PREFIX}/share/doc/mod_encoding
|
|
${MODAPACHE_INSTALL}
|
|
|
|
.include <bsd.port.mk>
|