aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2012-08-03 15:34:45 +0000
committerRenato Botelho <garga@FreeBSD.org>2012-08-03 15:34:45 +0000
commit90d97bb7c0b335bf482b1243aaab6676246ab4ea (patch)
tree840e8379f841715c5db9a647458ff49f7766d803 /archivers
parent3699fb2fba0a69c608a43ba48f60a0bf905f0f1c (diff)
downloadports-90d97bb7c0b335bf482b1243aaab6676246ab4ea.tar.gz
ports-90d97bb7c0b335bf482b1243aaab6676246ab4ea.zip
Notes
Diffstat (limited to 'archivers')
-rw-r--r--archivers/arj/Makefile9
-rw-r--r--archivers/sharutils/Makefile3
2 files changed, 9 insertions, 3 deletions
diff --git a/archivers/arj/Makefile b/archivers/arj/Makefile
index 81c5b9d11d0f..dd4ec297cc20 100644
--- a/archivers/arj/Makefile
+++ b/archivers/arj/Makefile
@@ -14,6 +14,9 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/2.78_3.10%20build%2022
MAINTAINER= garga@FreeBSD.org
COMMENT= Open-source ARJ
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT=DOCS
+
USE_AUTOTOOLS= autoconf
USE_GMAKE= yes
MAKE_JOBS_UNSAFE= yes
@@ -36,6 +39,8 @@ MAN1= arj-register.1 arj.1 arjdisp.1 rearj.1
PORTSCOUT= skipv:3.10g
+.include <bsd.port.pre.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's!/etc!${LOCALBASE}/etc!' \
${WRKSRC}/arj.c ${WRKSRC}/file_reg.c ${WRKSRC}/rearj.c
@@ -47,15 +52,13 @@ pre-build:
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} prepare)
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/doc && ${INSTALL_DATA} COPYING debug.txt ${DOCSDIR}
cd ${WRKSRC}/resource/en && \
${INSTALL_DATA} arjl.txt arjs.txt history.txt readme.txt unix.txt ${DOCSDIR}
.endif
-.include <bsd.port.pre.mk>
-
.if ${ARCH} == "powerpc"
BROKEN= Does not install on powerpc
.endif
diff --git a/archivers/sharutils/Makefile b/archivers/sharutils/Makefile
index 532a3692dcb4..ecd9e21a88cf 100644
--- a/archivers/sharutils/Makefile
+++ b/archivers/sharutils/Makefile
@@ -16,6 +16,9 @@ COMMENT= Pack, send, and unpack shell archives; synchronize via e-mail
LICENSE= GPLv3
+OPTIONS_DEFINE= NLS
+OPTIONS_DEFAULT=NLS
+
USE_BZIP2= yes
USE_PERL5= yes
GNU_CONFIGURE= yes