Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 2014 21:45:50 +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: r359130 - head/archivers/arj
Message-ID:  <201406242145.s5OLjo07066806@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Jun 24 21:45:50 2014
New Revision: 359130
URL: http://svnweb.freebsd.org/changeset/ports/359130
QAT: https://qat.redports.org/buildarchive/r359130/

Log:
  Simplify Makefile remove GMAKE

Modified:
  head/archivers/arj/Makefile

Modified: head/archivers/arj/Makefile
==============================================================================
--- head/archivers/arj/Makefile	Tue Jun 24 21:41:35 2014	(r359129)
+++ head/archivers/arj/Makefile	Tue Jun 24 21:45:50 2014	(r359130)
@@ -22,7 +22,8 @@ CFLAGS+=	-fPIC
 MAKEFILE=	GNUmakefile
 STRIP=
 LANGUAGE?=	en
-MAKE_ENV+=	"LOCALE=${LANGUAGE}"
+MAKE_ARGS+=	"LOCALE=${LANGUAGE}"
+ALL_TARGET=	prepare all
 
 PORTDOCS=	*
 
@@ -39,11 +40,7 @@ PLIST_DIRS=	lib/arj
 
 PORTSCOUT=	skipv:3.10g
 
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "powerpc"
-BROKEN=		Does not install on powerpc
-.endif
+BROKEN_powerpc=		Does not install on powerpc
 
 post-patch:
 	@${REINPLACE_CMD} -e 's!/etc!${LOCALBASE}/etc!' \
@@ -52,13 +49,10 @@ post-patch:
 	@${REINPLACE_CMD} -e 's!^static !!' ${WRKSRC}/integr.c
 	@${REINPLACE_CMD} -e 's!strnlen!_strnlen!g' ${WRKSRC}/fardata.c
 
-pre-build:
-	@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} prepare)
-
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC}/doc && ${INSTALL_DATA} COPYING debug.txt ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC}/resource/en && \
 		${INSTALL_DATA} arjl.txt arjs.txt history.txt readme.txt unix.txt ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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