aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-04-01 10:23:51 +0800
committerasami <asami@FreeBSD.org>1998-04-01 10:23:51 +0800
commit51d0c1829114797b4b289a45bd1421f8b7dddeb1 (patch)
tree02d0b98e410fb84aa264ab1020e4fe2efb6007d8 /math
parent67fa4b07013a5ae362fa339030aeaa59e5b599f4 (diff)
downloadfreebsd-ports-gnome-51d0c1829114797b4b289a45bd1421f8b7dddeb1.tar.gz
freebsd-ports-gnome-51d0c1829114797b4b289a45bd1421f8b7dddeb1.tar.zst
freebsd-ports-gnome-51d0c1829114797b4b289a45bd1421f8b7dddeb1.zip
Make this port reinstall-friendly. Also, don't create a directory
(share/examples) that's already created by mtree.
Diffstat (limited to 'math')
-rw-r--r--math/freefem/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/freefem/Makefile b/math/freefem/Makefile
index fc1bb506b897..f1c621943549 100644
--- a/math/freefem/Makefile
+++ b/math/freefem/Makefile
@@ -3,7 +3,7 @@
# Date created: 20 December 1996
# Whom: Pedro Giffuni
#
-# $Id: Makefile,v 1.3 1997/07/08 08:29:13 tg Exp $
+# $Id: Makefile,v 1.4 1998/02/20 18:39:52 steve Exp $
#
DISTNAME= freefem-3.4
@@ -19,11 +19,11 @@ CONFIGURE_ARGS= --with-adapt --with-optimization
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/freefem
- ${MKDIR} ${PREFIX}/share/examples
${CP} ${WRKSRC}/doc/freefem.dvi ${PREFIX}/share/doc/freefem
${CP} ${WRKSRC}/doc/freefem.ps ${PREFIX}/share/doc/freefem
${CP} ${WRKSRC}/doc/freefem.txt ${PREFIX}/share/doc/freefem
${GZIP_CMD} ${PREFIX}/share/doc/freefem/freefem.txt
+ ${RM} -rf ${PREFIX}/share/examples/freefem
${MV} ${PREFIX}/share/freefem ${PREFIX}/share/examples
.endif