diff options
author | clement <clement@FreeBSD.org> | 2004-08-08 22:55:31 +0800 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-08-08 22:55:31 +0800 |
commit | b786156cdc372eab57916d686946f384694e0ad1 (patch) | |
tree | ddd577388d0f2c47b70fcc382873a2978bdc39a0 /www | |
parent | d099bca4787b112fb303c0513f37127a69c1e34b (diff) | |
download | freebsd-ports-gnome-b786156cdc372eab57916d686946f384694e0ad1.tar.gz freebsd-ports-gnome-b786156cdc372eab57916d686946f384694e0ad1.tar.zst freebsd-ports-gnome-b786156cdc372eab57916d686946f384694e0ad1.zip |
- Convert to use Makefile.modules.3rd
Diffstat (limited to 'www')
-rw-r--r-- | www/mod_macro/Makefile | 16 | ||||
-rw-r--r-- | www/mod_macro/pkg-plist | 5 |
2 files changed, 9 insertions, 12 deletions
diff --git a/www/mod_macro/Makefile b/www/mod_macro/Makefile index 5b7271a64532..a57e7b0203ba 100644 --- a/www/mod_macro/Makefile +++ b/www/mod_macro/Makefile @@ -14,16 +14,18 @@ MASTER_SITES= http://www.cri.ensmp.fr/~coelho/mod_macro/ MAINTAINER= ports@FreeBSD.org COMMENT= Apache module for use macros in config files -USE_APACHE= yes +WANT_APACHE= 13 +AP_FAST_BUILD= YES +AP_GENPLIST= YES +PORTDOCS= ${PORTNAME}.html -do-build: - @cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/www/apache2/Makefile.modules.3rd" -do-install: - ${APXS} -i -A -n ${PORTNAME} ${WRKSRC}/${PORTNAME}.so +post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.html ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/www/mod_macro/pkg-plist b/www/mod_macro/pkg-plist deleted file mode 100644 index ab4adec4788e..000000000000 --- a/www/mod_macro/pkg-plist +++ /dev/null @@ -1,5 +0,0 @@ -libexec/apache/mod_macro.so -@exec %D/sbin/apxs -e -A -n macro %D/%F -@unexec %D/sbin/apxs -e -A -n macro %D/%F -%%PORTDOCS%%%%DOCSDIR%%/mod_macro.html -%%PORTDOCS%%@dirrm %%DOCSDIR%% |