1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/korean/mod_url/Makefile
Kirill Ponomarev 4efa9ce4ab - Use USE_ICONV knob
Approved by:	portmgr
2004-03-30 19:20:22 +00:00

33 lines
842 B
Makefile

# New ports collection makefile for: mod_url
# Date created: 13 Apr 2003
# Whom: CHOI Junho <cjh@FreeBSD.org>
#
# $FreeBSD$
PORTNAME= mod_url
PORTVERSION= 20010905
CATEGORIES= korean www
MASTER_SITES= http://kle.kldp.org/apache/
DISTFILES= ${PORTNAME}.c readme.${PORTNAME}
MAINTAINER= cjh@FreeBSD.org
COMMENT= Apache module for manipulating euc-kr encoded URL
USE_APACHE= yes
USE_ICONV= yes
do-extract:
${MKDIR} ${WRKSRC}
${CP} ${_DISTDIR}/${PORTNAME}.c ${_DISTDIR}/readme.mod_url ${WRKSRC}
do-build:
cd ${WRKSRC}; ${APXS} -c -I${PREFIX}/include -L${PREFIX}/lib -liconv ${PORTNAME}.c
do-install:
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.so ${PREFIX}/libexec/apache/
${MKDIR} ${PREFIX}/share/doc/mod_url
${INSTALL_DATA} ${WRKSRC}/readme.${PORTNAME} ${PREFIX}/share/doc/mod_url/
${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>