diff options
author | pav <pav@FreeBSD.org> | 2005-11-03 04:53:24 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-11-03 04:53:24 +0800 |
commit | 48453d8891dea9c39821a606a8b795e5ddd7be77 (patch) | |
tree | 984010b8bf7c4b929f9294f8a1841417e5488fe7 /science/euler/Makefile | |
parent | 2fcd0da355ac16411df29f0968e9217ba26770b3 (diff) | |
download | freebsd-ports-gnome-48453d8891dea9c39821a606a8b795e5ddd7be77.tar.gz freebsd-ports-gnome-48453d8891dea9c39821a606a8b795e5ddd7be77.tar.zst freebsd-ports-gnome-48453d8891dea9c39821a606a8b795e5ddd7be77.zip |
- Update to 1.61.0
PR: ports/88350
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'science/euler/Makefile')
-rw-r--r-- | science/euler/Makefile | 41 |
1 files changed, 15 insertions, 26 deletions
diff --git a/science/euler/Makefile b/science/euler/Makefile index 64bb018fcd3e..f8076515cf4d 100644 --- a/science/euler/Makefile +++ b/science/euler/Makefile @@ -7,44 +7,33 @@ # PORTNAME= euler -PORTVERSION= 1.60.6 -PORTREVISION= 1 +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 -WRKSRC= ${WRKDIR}/${DISTNAME:R}/source - -USE_GNOME= gtk12 +USE_GNOME= gnometarget gtk20 USE_REINPLACE= yes -MAKEFILE= makefile -ALL_TARGET= euler +GNU_CONFIGURE= yes post-patch: - @${REINPLACE_CMD} -e 's|^CC=gcc|CC+= \$$\{CFLAGS\}|g ; \ - s|[(]INSTALL_DIR[)]|(PREFIX)|g ; \ - s|-O2||g ; \ - s|g++|\$$\{CXX\}|g ; \ - s|gtk-config|\$$\{GTK_CONFIG\}|g ; \ - s|glib-config|\$$\{GLIB_CONFIG\}|g' ${WRKSRC}/${MAKEFILE} - @${REINPLACE_CMD} -e 's|_DIR,|_DIR |g' ${WRKSRC}/main.c + @${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 -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/euler ${PREFIX}/bin - @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/help.txt ${DATADIR} -.for dir in progs progs/user - @${MKDIR} ${DATADIR}/${dir} - ${INSTALL_DATA} ${WRKSRC}/../${dir}/*.* ${DATADIR}/${dir} -.endfor +post-install: .if !defined(NOPORTDOCS) -.for dir in . french german german/images images reference - @${MKDIR} ${DOCSDIR}/${dir} - ${INSTALL_DATA} ${WRKSRC}/../docs/${dir}/*.* ${DOCSDIR}/${dir} -.endfor + @${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> |