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:
parent
d9b5127626
commit
5fe18e6dba
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360500
@ -6,10 +6,6 @@ PORTVERSION= 1.01
|
||||
CATEGORIES= math science
|
||||
MASTER_SITES= http://www.ann.jussieu.fr/hecht/ftp/bamg/
|
||||
DISTFILES= ${PORTNAME}-v${PORTVERSION}${EXTRACT_SUFX}
|
||||
.ifndef(NOPORTDOCS)
|
||||
DISTFILES+= ${PORTNAME}.pdf
|
||||
EXTRACT_ONLY= ${PORTNAME}-v${PORTVERSION}${EXTRACT_SUFX}
|
||||
.endif
|
||||
|
||||
MAINTAINER= stephen@FreeBSD.org
|
||||
COMMENT= Bidimensional Anisotropic Mesh Generator
|
||||
@ -32,6 +28,11 @@ OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
DISTFILES+= ${PORTNAME}.pdf
|
||||
EXTRACT_ONLY= ${PORTNAME}-v${PORTVERSION}${EXTRACT_SUFX}
|
||||
.endif
|
||||
|
||||
.pre-configure:
|
||||
HOSTTYPE= ${UNAME} -s
|
||||
MAKE_ENV= HOSTTYPE=${${HOSTTYPE}}
|
||||
@ -44,8 +45,10 @@ post-install:
|
||||
.for bin in ${BINS}
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${bin}
|
||||
.endfor
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@${INSTALL_DATA} ${DISTDIR}/${PORTNAME}.pdf ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
.for exdir in ${EXDIRS}
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${exdir}
|
||||
@${INSTALL_DATA} ${WRKSRC}/examples/${exdir}/* ${STAGEDIR}${EXAMPLESDIR}/${exdir}
|
||||
|
Loading…
Reference in New Issue
Block a user