summaryrefslogtreecommitdiff
path: root/archivers/arj
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-06-24 21:45:50 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-06-24 21:45:50 +0000
commit65a37b89015fe92c56eef5c8dc5ae63681a1f9b8 (patch)
tree36f797958493cef8ddf5c68cb2b1f52400b8edd6 /archivers/arj
parentRename the gmake-lite binary into gmake-lite so that it doesn't conflicts wit... (diff)
Simplify Makefile remove GMAKE
Notes
Notes: svn path=/head/; revision=359130
Diffstat (limited to 'archivers/arj')
-rw-r--r--archivers/arj/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/archivers/arj/Makefile b/archivers/arj/Makefile
index 72892d683f52..707dc8d2c60e 100644
--- a/archivers/arj/Makefile
+++ b/archivers/arj/Makefile
@@ -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>