aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2013-12-31 02:31:26 +0800
committerantoine <antoine@FreeBSD.org>2013-12-31 02:31:26 +0800
commitc6a073efd1cadac0df22666cc69c6bda8b1ba613 (patch)
tree84e2918cfde96d414daef16167a216b9562f2476 /cad
parent7b072f8d3c73dbb8f3d9c06be28a6813de33cc39 (diff)
downloadfreebsd-ports-graphics-c6a073efd1cadac0df22666cc69c6bda8b1ba613.tar.gz
freebsd-ports-graphics-c6a073efd1cadac0df22666cc69c6bda8b1ba613.tar.zst
freebsd-ports-graphics-c6a073efd1cadac0df22666cc69c6bda8b1ba613.zip
Stage support
Diffstat (limited to 'cad')
-rw-r--r--cad/admesh/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/cad/admesh/Makefile b/cad/admesh/Makefile
index a6ebfec3b67..ea2d0d9fda7 100644
--- a/cad/admesh/Makefile
+++ b/cad/admesh/Makefile
@@ -20,17 +20,16 @@ GNU_CONFIGURE= yes
PORTDOCS= admesh.doc
PLIST_FILES= bin/admesh
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/admesh ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/admesh ${STAGEDIR}${PREFIX}/bin/
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/ADMESH.DOC ${DOCSDIR}/admesh.doc
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ADMESH.DOC ${STAGEDIR}${DOCSDIR}/admesh.doc
.endif
.include <bsd.port.mk>