mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Convert to use Makefile.modules.3rd
This commit is contained in:
parent
b9f6c52dd3
commit
ec47a546e8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=115639
2 changed files with 9 additions and 12 deletions
|
@ -14,16 +14,18 @@ MASTER_SITES= http://www.cri.ensmp.fr/~coelho/mod_macro/
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Apache module for use macros in config files
|
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:
|
.include <bsd.port.pre.mk>
|
||||||
@cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c
|
.include "${PORTSDIR}/www/apache2/Makefile.modules.3rd"
|
||||||
|
|
||||||
do-install:
|
post-install:
|
||||||
${APXS} -i -A -n ${PORTNAME} ${WRKSRC}/${PORTNAME}.so
|
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
@${MKDIR} ${DOCSDIR}
|
@${MKDIR} ${DOCSDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.html ${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -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%%
|
|
Loading…
Add table
Reference in a new issue