1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Missed a NOPORTDOCS

This commit is contained in:
Adam Weinberger 2014-07-04 00:56:41 +00:00
parent d9b5127626
commit 5fe18e6dba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360500

View File

@ -6,10 +6,6 @@ PORTVERSION= 1.01
CATEGORIES= math science CATEGORIES= math science
MASTER_SITES= http://www.ann.jussieu.fr/hecht/ftp/bamg/ MASTER_SITES= http://www.ann.jussieu.fr/hecht/ftp/bamg/
DISTFILES= ${PORTNAME}-v${PORTVERSION}${EXTRACT_SUFX} DISTFILES= ${PORTNAME}-v${PORTVERSION}${EXTRACT_SUFX}
.ifndef(NOPORTDOCS)
DISTFILES+= ${PORTNAME}.pdf
EXTRACT_ONLY= ${PORTNAME}-v${PORTVERSION}${EXTRACT_SUFX}
.endif
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Bidimensional Anisotropic Mesh Generator COMMENT= Bidimensional Anisotropic Mesh Generator
@ -32,6 +28,11 @@ OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MDOCS}
DISTFILES+= ${PORTNAME}.pdf
EXTRACT_ONLY= ${PORTNAME}-v${PORTVERSION}${EXTRACT_SUFX}
.endif
.pre-configure: .pre-configure:
HOSTTYPE= ${UNAME} -s HOSTTYPE= ${UNAME} -s
MAKE_ENV= HOSTTYPE=${${HOSTTYPE}} MAKE_ENV= HOSTTYPE=${${HOSTTYPE}}
@ -44,8 +45,10 @@ post-install:
.for bin in ${BINS} .for bin in ${BINS}
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${bin} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${bin}
.endfor .endfor
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${DISTDIR}/${PORTNAME}.pdf ${STAGEDIR}${DOCSDIR} @${INSTALL_DATA} ${DISTDIR}/${PORTNAME}.pdf ${STAGEDIR}${DOCSDIR}
.endif
.for exdir in ${EXDIRS} .for exdir in ${EXDIRS}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${exdir} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${exdir}
@${INSTALL_DATA} ${WRKSRC}/examples/${exdir}/* ${STAGEDIR}${EXAMPLESDIR}/${exdir} @${INSTALL_DATA} ${WRKSRC}/examples/${exdir}/* ${STAGEDIR}${EXAMPLESDIR}/${exdir}