Date: Fri, 31 Jul 2015 15:28:41 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r393329 - head/math/gap Message-ID: <201507311528.t6VFSf7w082174@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Fri Jul 31 15:28:40 2015 New Revision: 393329 URL: https://svnweb.freebsd.org/changeset/ports/393329 Log: - Fix shebangs - Drop @dirrm* from plist Approved by: portmgr blanket Modified: head/math/gap/Makefile Modified: head/math/gap/Makefile ============================================================================== --- head/math/gap/Makefile Fri Jul 31 15:28:02 2015 (r393328) +++ head/math/gap/Makefile Fri Jul 31 15:28:40 2015 (r393329) @@ -3,6 +3,7 @@ PORTNAME= gap PORTVERSION= 4.7.8.${GAP_DISTDATE} +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= ftp://ftp.gap-system.org/pub/gap/gap47/tar.bz2/ \ ftp://ftp.stack.nl/pub/users/johans/gap/ \ @@ -14,7 +15,29 @@ COMMENT= GAP is a system for computation LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp -USES= gmake tar:bzip2 +USES= gmake shebangfix tar:bzip2 +SHEBANG_FILES= configure \ + pkg/GAPDoc-1.5.1/3k+1/clean \ + pkg/GAPDoc-1.5.1/doc/clean \ + pkg/GAPDoc-1.5.1/example/clean \ + pkg/PolymakeInterface/configure \ + pkg/SymbCompCC-1.2/doc/convert.pl \ + pkg/anupq-3.1.1/tst/make_anupqeg \ + pkg/crime/gap/print.pl \ + pkg/cubefree/doc/convert.pl \ + pkg/fr-2.2.1/cnf/config.status \ + pkg/hecke/doc/clean \ + pkg/io-4.4.4/doc/clean \ + pkg/liepring/doc/convert.pl \ + pkg/nilmat/doc/convert.pl \ + pkg/orb-4.7.3/doc/clean \ + pkg/pargap/mpinu/thwap \ + pkg/recog-1.2.3/doc/clean \ + pkg/recogbase-1.2.3/doc/clean \ + pkg/sglppow/doc/convert.pl \ + pkg/sonata/doc/convert.pl \ + pkg/unipot-1.2/doc/convert.pl + GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-gmp=${LOCALBASE} ALL_TARGET= default @@ -28,6 +51,9 @@ GAP_LIBDIR= ${PREFIX}/lib/${GAP_VERSION} WRKSRC= ${WRKDIR}/${GAP_VERSION} PLIST_FILES= bin/gap +post-patch: + @${REINPLACE_CMD} -i '' -e '1s|/usr/bin/sh|/bin/sh|' ${WRKSRC}/pkg/happrime/make_tarball + do-install: ${SED} -e "s:GAP_DIR=.*:GAP_DIR=${GAP_LIBDIR}:g" \ -e "s:GAP_PRG=.*:GAP_PRG=gap:g" ${WRKSRC}/bin/gap.sh \ @@ -45,7 +71,5 @@ post-install: @${FIND} ${STAGEDIR}${GAP_LIBDIR} -type d -empty -delete @${FIND} ${STAGEDIR}${GAP_LIBDIR} ! -type d | \ ${SED} 's,${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST} - @${FIND} ${STAGEDIR}${GAP_LIBDIR} -type d -depth | \ - ${SED} 's,${STAGEDIR}${PREFIX}/,@dirrm ,' >> ${TMPPLIST} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507311528.t6VFSf7w082174>