diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2009-05-08 23:42:16 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2009-05-08 23:42:16 +0800 |
commit | 0e4222e79b364d1f91a86b63735f6ec54e86e4bd (patch) | |
tree | d8f5b36b5273a3795f1f765e78745b98773cda5f | |
parent | b05fbfb6286f8fbf5284a235d9ed5d6e7ee48906 (diff) | |
download | freebsd-ports-gnome-0e4222e79b364d1f91a86b63735f6ec54e86e4bd.tar.gz freebsd-ports-gnome-0e4222e79b364d1f91a86b63735f6ec54e86e4bd.tar.zst freebsd-ports-gnome-0e4222e79b364d1f91a86b63735f6ec54e86e4bd.zip |
- USE_APACHE=yes is deprecated
- Handle NPORTDOCS
- Convert to AP_FAST_BUILD/AP_GENPLIST
PR: ports/133646
Approved by: maintainter timeout (30 days)
Submitted by: me
-rw-r--r-- | korean/mod_url/Makefile | 26 | ||||
-rw-r--r-- | korean/mod_url/pkg-plist | 3 |
2 files changed, 16 insertions, 13 deletions
diff --git a/korean/mod_url/Makefile b/korean/mod_url/Makefile index 80d29b8d3fbc..1e7acc2ab486 100644 --- a/korean/mod_url/Makefile +++ b/korean/mod_url/Makefile @@ -13,20 +13,26 @@ DISTFILES= ${PORTNAME}.c readme.${PORTNAME} MAINTAINER= cjh@FreeBSD.org COMMENT= Apache module for manipulating euc-kr encoded URL -USE_APACHE= yes +USE_APACHE= 1.3 USE_ICONV= yes -do-extract: - ${MKDIR} ${WRKSRC} - ${CP} ${_DISTDIR}/${PORTNAME}.c ${_DISTDIR}/readme.mod_url ${WRKSRC} +AP_FAST_BUILD= yes +AP_GENPLIST= yes + +AP_INC= ${LOCALBASE}/include +AP_LIB= ${LOCALBASE}/lib -liconv -do-build: - cd ${WRKSRC}; ${APXS} -c -I${PREFIX}/include -L${PREFIX}/lib -liconv ${PORTNAME}.c +PORTDOCS= readme.${PORTNAME} + +do-extract: + ${MKDIR} ${WRKSRC}/ + ${CP} ${_DISTDIR}/${PORTNAME}.c ${_DISTDIR}/readme.${PORTNAME} ${WRKSRC}/ -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/ +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}/ +.endif ${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/korean/mod_url/pkg-plist b/korean/mod_url/pkg-plist deleted file mode 100644 index 14b429df31d2..000000000000 --- a/korean/mod_url/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -libexec/apache/mod_url.so -share/doc/mod_url/readme.mod_url -@dirrm share/doc/mod_url/ |