1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/science/euler/Makefile
Pav Lucistnik 6ef0b16068 - Update to 1.61.0
PR:		ports/88350
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2005-11-02 20:53:24 +00:00

40 lines
985 B
Makefile

# ex:ts=8
# Ports collection Makefile for: euler
# Date created: May 14, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= euler
PORTVERSION= 1.61.0
CATEGORIES= science
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A program computes with real and complex numbers and matrices
USE_GNOME= gnometarget gtk20
USE_REINPLACE= yes
GNU_CONFIGURE= yes
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS/s|docs||g ; \
/^install-data-am/s|install-eulerdocDATA||g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '/^AM_CFLAGS/d ; \
/-Wall/d ; \
/-O3/d' ${WRKSRC}/src/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/docs && ${FIND} . ! -name "*Makefile*" | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
@${FIND} ${DOCSDIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
@${FIND} ${DOCSDIR} -type d | ${XARGS} ${CHMOD} ${BINMODE}
.endif
.include <bsd.port.mk>