textproc/mdocml: build and install man.cgi
PR: 269604 Approved by: uqs (maintainer) Sponsored by: DARPA
This commit is contained in:
parent
1e0b7c14fc
commit
513c2583ad
2 changed files with 10 additions and 0 deletions
|
@ -23,6 +23,14 @@ LDFLAGS+= -L${LOCALBASE}/lib
|
|||
post-configure:
|
||||
@${REINPLACE_CMD} -e '/^CFLAGS/s/=/?=/' -e '/^PREFIX/s/=/?=/' \
|
||||
-e 's/^INSTALL_PROGRAM.*/INSTALL_PROGRAM=${INSTALL_PROGRAM}/' \
|
||||
-e 's|/var/www|${WWWDIR}|' \
|
||||
${WRKSRC}/Makefile.local
|
||||
cp ${WRKSRC}/cgi.h.example ${WRKSRC}/cgi.h
|
||||
|
||||
post-build:
|
||||
cd ${WRKSRC} && ${MAKE} ${MAKE_ARGS} man.cgi
|
||||
|
||||
post-install:
|
||||
cd ${WRKSRC} && ${MAKE} ${MAKE_ARGS} cgi-install
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -20,3 +20,5 @@ man/man7/mdoc.7.gz
|
|||
man/man7/tbl.7.gz
|
||||
man/man8/makewhatis.8.gz
|
||||
sbin/makewhatis
|
||||
%%WWWDIR%%/cgi-bin/man.cgi
|
||||
%%WWWDIR%%/htdocs/mandoc.css
|
||||
|
|
Loading…
Reference in a new issue