Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2014 12:58:02 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350106 - head/archivers/snappy-java
Message-ID:  <201404041258.s34Cw2og087937@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Apr  4 12:58:01 2014
New Revision: 350106
URL: http://svnweb.freebsd.org/changeset/ports/350106
QAT: https://qat.redports.org/buildarchive/r350106/

Log:
  Simplification and cleanup of the port

Modified:
  head/archivers/snappy-java/Makefile

Modified: head/archivers/snappy-java/Makefile
==============================================================================
--- head/archivers/snappy-java/Makefile	Fri Apr  4 12:54:24 2014	(r350105)
+++ head/archivers/snappy-java/Makefile	Fri Apr  4 12:58:01 2014	(r350106)
@@ -40,17 +40,14 @@ MAKE_ARGS+=	Default_CXX=${CXX}
 
 PLIST_FILES=	%%JAVAJARDIR%%/snappy-java.jar lib/libsnappyjava.so
 
-post-patch-script:
-	@${REINPLACE_CMD} -e 's|curl.*||g' \
-		${WRKSRC}/Makefile
-	@${REINPLACE_CMD} -e 's|MVN:=mvn|MVN:=mvn -Dmaven.repo.local=${WRKDIR}/repository --offline|g' \
+post-patch:
+	@${REINPLACE_CMD} -e 's|curl.*||g ; \
+		s|MVN:=mvn|MVN:=mvn -Dmaven.repo.local=${WRKDIR}/repository --offline|g' \
 		${WRKSRC}/Makefile
 
-pre-build:
+do-build:
 	@${MKDIR} ${WRKSRC}/target
 	@${CP} ${DISTDIR}/snappy-${PORTVERSION:R}.tar.gz ${WRKSRC}/target/
-
-do-build: pre-build
 	cd ${WRKSRC} && ${SETENV} JAVA_HOME=${JAVA_HOME} \
 	${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} && ${LOCALBASE}/share/java/maven3/bin/mvn -Dmaven.repo.local=${WRKDIR}/repository --offline test
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404041258.s34Cw2og087937>