freebsd-ports/math/freefem/Makefile
Satoshi Asami 3716aa14ec Make this port reinstall-friendly. Also, don't create a directory
(share/examples) that's already created by mtree.
1998-04-01 02:23:51 +00:00

31 lines
876 B
Makefile

# New ports collection makefile for: freefem
# Version required: 3.4
# Date created: 20 December 1996
# Whom: Pedro Giffuni
#
# $Id: Makefile,v 1.4 1998/02/20 18:39:52 steve Exp $
#
DISTNAME= freefem-3.4
CATEGORIES= math cad
MASTER_SITES= http://www.asci.fr/~prudhomm/gfem-html/freefem/
MAINTAINER= giffunip@asme.org
USE_X11= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-adapt --with-optimization
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/freefem
${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
.include <bsd.port.mk>