aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LEGAL1
-rw-r--r--www/mod_tidy/Makefile16
-rw-r--r--www/mod_tidy/distinfo4
-rw-r--r--www/mod_tidy/pkg-plist4
4 files changed, 12 insertions, 13 deletions
diff --git a/LEGAL b/LEGAL
index cf0fa0554561..23363be1a537 100644
--- a/LEGAL
+++ b/LEGAL
@@ -59,7 +59,6 @@ adstudio-novm.tar.gz databases/adstudio Free for personal or educational
required for all other usages
altivore.c security/altivore No redistribution allowed
apache*-ssl www/apache13-ssl Crypto; export-controlled
-apache/mod_tidy-* www/mod_tidy No license
apache2/mod_taf_thief.c www/mod_traf_thief No license
apple_pascal_0.dsk.gz emulators/p-interp Redistribution rights for Apple
Pascal disk images are unclear
diff --git a/www/mod_tidy/Makefile b/www/mod_tidy/Makefile
index 046d057e1155..293fa92a4211 100644
--- a/www/mod_tidy/Makefile
+++ b/www/mod_tidy/Makefile
@@ -6,26 +6,30 @@
#
PORTNAME= mod_tidy
-PORTVERSION= 0.3
-PORTREVISION= 1
+PORTVERSION= 0.5
CATEGORIES= www
-MASTER_SITES= http://sheepkiller.nerim.net/ports/${PORTNAME}/
-DIST_SUBDIR= apache
+MASTER_SITES= http://mod-tidy.sourceforge.net/src/
+DIST_SUBDIR= apache2
MAINTAINER= apache@FreeBSD.org
COMMENT= Validates the HTML output of your apache2 webserver
LIB_DEPENDS= tidy:${PORTSDIR}/www/tidy-lib
-RESTRICTED= "no license"
-
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
+PLIST_FILES= ${DOCSDIR:S/${PREFIX}\///}/LICENSE
+PLIST_DIRS= ${DOCSDIR:S/${PREFIX}\///}
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/www/apache2/Makefile.modules.3rd"
+
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/../LICENSE ${DOCSDIR}
+
.include <bsd.port.post.mk>
diff --git a/www/mod_tidy/distinfo b/www/mod_tidy/distinfo
index 1093254089d7..7feefb67ba4d 100644
--- a/www/mod_tidy/distinfo
+++ b/www/mod_tidy/distinfo
@@ -1,2 +1,2 @@
-MD5 (apache/mod_tidy-0.3.tar.gz) = f4af3e8e1ba21483e0483e114bd66838
-SIZE (apache/mod_tidy-0.3.tar.gz) = 409600
+MD5 (apache2/mod_tidy-0.5.tar.gz) = d1c38516120da0f22b94caff21a1c831
+SIZE (apache2/mod_tidy-0.5.tar.gz) = 292979
diff --git a/www/mod_tidy/pkg-plist b/www/mod_tidy/pkg-plist
deleted file mode 100644
index 9eb85be71af3..000000000000
--- a/www/mod_tidy/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $FreeBSD$
-libexec/apache2/mod_tidy.so
-@exec %D/sbin/apxs -e -A -n tidy %D/%f
-@unexec echo "===> If you do not plan on reinstalling mod_tidy, you must manually remove"; echo "===> references to it in httpd.conf."