1997-01-11 11:38:43 +00:00
|
|
|
# New ports collection makefile for: freefem
|
1997-07-08 08:29:25 +00:00
|
|
|
# Version required: 3.4
|
1997-01-11 11:38:43 +00:00
|
|
|
# Date created: 20 December 1996
|
1998-02-20 18:39:58 +00:00
|
|
|
# Whom: Pedro Giffuni
|
1997-01-11 11:38:43 +00:00
|
|
|
#
|
1999-03-15 01:53:49 +00:00
|
|
|
# $Id: Makefile,v 1.6 1998/08/05 09:31:29 asami Exp $
|
1997-01-11 11:38:43 +00:00
|
|
|
#
|
|
|
|
|
1997-07-08 08:29:25 +00:00
|
|
|
DISTNAME= freefem-3.4
|
1997-01-11 11:38:43 +00:00
|
|
|
CATEGORIES= math cad
|
1997-07-08 08:29:25 +00:00
|
|
|
MASTER_SITES= http://www.asci.fr/~prudhomm/gfem-html/freefem/
|
1999-03-15 01:53:49 +00:00
|
|
|
EXTRACT_SUFX= .zip
|
1997-01-11 11:38:43 +00:00
|
|
|
|
1998-02-20 18:39:58 +00:00
|
|
|
MAINTAINER= giffunip@asme.org
|
1997-01-11 11:38:43 +00:00
|
|
|
|
1999-03-15 01:53:49 +00:00
|
|
|
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
|
|
|
|
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
1997-07-08 08:29:25 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-adapt --with-optimization
|
1997-01-11 11:38:43 +00:00
|
|
|
|
1999-03-15 01:53:49 +00:00
|
|
|
EXTRACT_CMD= unzip
|
|
|
|
EXTRACT_BEFORE_ARGS= -q -o
|
|
|
|
EXTRACT_AFTER_ARGS= -d ${WRKDIR}
|
|
|
|
|
1997-01-11 11:38:43 +00:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
1997-07-08 08:29:25 +00:00
|
|
|
${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
|
1998-04-01 02:23:51 +00:00
|
|
|
${RM} -rf ${PREFIX}/share/examples/freefem
|
1997-07-08 08:29:25 +00:00
|
|
|
${MV} ${PREFIX}/share/freefem ${PREFIX}/share/examples
|
1997-01-11 11:38:43 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|