aboutsummaryrefslogtreecommitdiff
path: root/archivers
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
parent949556b5f460b82d1ae0456a14e41361934fbf7d (diff)
downloadports-65a37b89015fe92c56eef5c8dc5ae63681a1f9b8.tar.gz
ports-65a37b89015fe92c56eef5c8dc5ae63681a1f9b8.zip
Notes
Diffstat (limited to 'archivers')
-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>