summaryrefslogtreecommitdiff
path: root/www/mod_tidy
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-08-16 20:40:30 +0000
committerClement Laforet <clement@FreeBSD.org>2004-08-16 20:40:30 +0000
commit7216072437905544a7ae778e53aab4a9805bc296 (patch)
treef1fbe0132ee54a11b63424a24c107d82bd4e77c2 /www/mod_tidy
parentFix the detection of png.h. (diff)
- Fix "Undefined symbols" at run-time.
PR: ports/70316 Submitted by: Daniel Grund <daniel@dgrund.de> With help from: thierry
Notes
Notes: svn path=/head/; revision=116438
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>