diff options
Diffstat (limited to 'devel/seed/Makefile')
-rw-r--r-- | devel/seed/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/devel/seed/Makefile b/devel/seed/Makefile index 97febf2da..5eb213383 100644 --- a/devel/seed/Makefile +++ b/devel/seed/Makefile @@ -3,7 +3,10 @@ # Whom: Alexander Logvinov <avl@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/devel/seed/Makefile,v 1.17 2010/02/24 00:54:09 ahze Exp $ +# $MCom: ports/devel/seed/Makefile,v 1.18 2010/03/29 04:29:13 avl Exp $ +# +# NOTE: It may be necessary to update ${FILESDIR}/Seed.js on each release. +# To do that, just replace imports.searchPaths with "." and ".." elements. # PORTNAME= seed @@ -53,4 +56,13 @@ post-patch: ${WRKSRC}/Makefile.in .endif +pre-build: + cd ${WRKSRC}/extensions && ${SETENV} ${MAKE_ENV} ${GMAKE} \ + ${MAKE_FLAGS} Makefile ${MAKE_ARGS} all + ${CP} ${WRKSRC}/extensions/Seed.js ${WRKSRC}/extensions/Seed.js.sav + ${CP} ${FILESDIR}/Seed.js ${WRKSRC}/extensions/Seed.js + +post-build: + ${CP} ${WRKSRC}/extensions/Seed.js.sav ${WRKSRC}/extensions/Seed.js + .include <bsd.port.post.mk> |