aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_tidy
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-08-17 04:40:30 +0800
committerclement <clement@FreeBSD.org>2004-08-17 04:40:30 +0800
commitf6ae5a0c169beaf4990365272f970fa3cb785818 (patch)
tree7432fa71fda6ffa4aae07f2c90a7a98664f031ac /www/mod_tidy
parent8732ef2d6ec8271dd811c486402715449a1b6874 (diff)
downloadfreebsd-ports-gnome-f6ae5a0c169beaf4990365272f970fa3cb785818.tar.gz
freebsd-ports-gnome-f6ae5a0c169beaf4990365272f970fa3cb785818.tar.zst
freebsd-ports-gnome-f6ae5a0c169beaf4990365272f970fa3cb785818.zip
- Fix "Undefined symbols" at run-time.
PR: ports/70316 Submitted by: Daniel Grund <daniel@dgrund.de> With help from: thierry
Diffstat (limited to 'www/mod_tidy')
-rw-r--r--www/mod_tidy/Makefile26
1 files changed, 9 insertions, 17 deletions
diff --git a/www/mod_tidy/Makefile b/www/mod_tidy/Makefile
index 0f9cf5ea7c30..f8a92bf5b044 100644
--- a/www/mod_tidy/Makefile
+++ b/www/mod_tidy/Makefile
@@ -14,25 +14,17 @@ DIST_SUBDIR= apache
MAINTAINER= clement@FreeBSD.org
COMMENT= Validates the HTML output of your apache2 webserver
-BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
-RUN_DEPENDS= ${BUILD_DEPENDS}
LIB_DEPENDS= tidy:${PORTSDIR}/www/tidy-lib
RESTRICTED= "no license"
-APXS?= ${LOCALBASE}/sbin/apxs
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
+WANT_APACHE= 2
+AP_FAST_BUILD= YES
+AP_GENPLIST= YES
+AP_INC+= ${LOCALBASE}/include/tidy
+AP_LIB+= ${LOCALBASE}/lib -ltidy
-TIDY_INC= ${LOCALBASE}/include/tidy
-TIDY_LIBS= ${LOCALBASE}/lib
-
-post-extract:
- @${ECHO_MSG} "===> Removing distributed tidy libs to avoid conflicts"
- @${RM} -fr ${WRKSRC}/tidy
-
-do-build:
- @(cd ${WRKSRC}/src && ${APXS} -I ${TIDY_INC} -L ${TIDY_LIBS} -c ${PORTNAME}.c)
-
-do-install:
- @(cd ${WRKSRC}/src && ${APXS} -A -i ${PORTNAME}.la)
-
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/www/apache2/Makefile.modules.3rd"
+.include <bsd.port.post.mk>