diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-07-02 15:55:13 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-07-02 15:55:13 +0000 |
commit | 18976548645cd47158267439aafcbd978f562b3b (patch) | |
tree | aae732060b6099424282afe8148ff6d335d4ea1f /www | |
parent | 6ab018f9afadb6d5f3c6c27e53a06bebb53ec87c (diff) | |
download | ports-18976548645cd47158267439aafcbd978f562b3b.tar.gz ports-18976548645cd47158267439aafcbd978f562b3b.zip |
Notes
Diffstat (limited to 'www')
-rw-r--r-- | www/mimetex/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/www/mimetex/Makefile b/www/mimetex/Makefile index c1223ff1cac5..4ce78bce9d9d 100644 --- a/www/mimetex/Makefile +++ b/www/mimetex/Makefile @@ -3,7 +3,6 @@ PORTNAME= mimetex PORTVERSION= 20120331.1.74 -PORTREVISION= 0 CATEGORIES= www math MASTER_SITES= LOCAL/nivit/${PORTNAME}/${PORTVERSION}/ \ http://www.forkosh.com/ @@ -25,18 +24,20 @@ DESC_STATIC= Possible use of mimetex on another machine PORTDOCS= ${PORTNAME}.html -NO_STAGE= yes .include <bsd.port.options.mk> + # usefull if you run mimetex on another machine .if ${PORT_OPTIONS:MSTATIC} STATIC_MIMETEX= -static .endif + # anti-aliasing no/yes .if ${PORT_OPTIONS:MANTIALIASING} IMAGES_TYPE= -DAA .else IMAGES_TYPE= -DGIF .endif + # other options (see mimetex.c or online documentation) # example: make install USER_OPTIONS='-DCACHEPATH=\"/tmp\" -DDISPLAYSIZE=10' USER_OPTIONS?= @@ -44,12 +45,13 @@ USER_OPTIONS?= do-build: cd ${WRKDIR};\ ${CC} ${CFLAGS} ${STATIC_MIMETEX} ${IMAGES_TYPE} ${USER_OPTIONS} mimetex.c gifsave.c -lm -o mimetex.cgi + do-install: - ${MKDIR} ${WWWDIR}/cgi-bin - ${INSTALL_PROGRAM} ${WRKSRC}/mimetex.cgi ${WWWDIR}/cgi-bin/mimetex.cgi + ${MKDIR} ${STAGEDIR}${WWWDIR}/cgi-bin + ${INSTALL_PROGRAM} ${WRKSRC}/mimetex.cgi ${STAGEDIR}${WWWDIR}/cgi-bin/mimetex.cgi .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> |