mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
3e312d5a81
PR: 10219 Submitted by: Michael Haro <mharo@area51.fremont.ca.us>
38 lines
1.0 KiB
Makefile
38 lines
1.0 KiB
Makefile
# New ports collection makefile for: freefem
|
|
# Version required: 3.4
|
|
# Date created: 20 December 1996
|
|
# Whom: Pedro Giffuni
|
|
#
|
|
# $Id: Makefile,v 1.6 1998/08/05 09:31:29 asami Exp $
|
|
#
|
|
|
|
DISTNAME= freefem-3.4
|
|
CATEGORIES= math cad
|
|
MASTER_SITES= http://www.asci.fr/~prudhomm/gfem-html/freefem/
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= giffunip@asme.org
|
|
|
|
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
|
|
|
|
USE_X_PREFIX= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-adapt --with-optimization
|
|
|
|
EXTRACT_CMD= unzip
|
|
EXTRACT_BEFORE_ARGS= -q -o
|
|
EXTRACT_AFTER_ARGS= -d ${WRKDIR}
|
|
|
|
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>
|