svn commit: r328220 - head/archivers/arj
Renato Botelho
garga at FreeBSD.org
Tue Sep 24 23:55:47 UTC 2013
Author: garga
Date: Tue Sep 24 23:55:46 2013
New Revision: 328220
URL: http://svnweb.freebsd.org/changeset/ports/328220
Log:
Enable staging
Added:
head/archivers/arj/pkg-plist (contents, props changed)
Modified:
head/archivers/arj/Makefile (contents, props changed)
Modified: head/archivers/arj/Makefile
==============================================================================
--- head/archivers/arj/Makefile Tue Sep 24 23:44:04 2013 (r328219)
+++ head/archivers/arj/Makefile Tue Sep 24 23:55:46 2013 (r328220)
@@ -12,7 +12,6 @@ COMMENT= Open-source ARJ
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
USES= gmake
USE_AUTOTOOLS= autoconf
MAKE_JOBS_UNSAFE= yes
@@ -22,21 +21,15 @@ MAKEFILE= GNUmakefile
STRIP=
LANGUAGE?= en
MAKE_ENV+= "LOCALE=${LANGUAGE}"
-PORTDOCS= *
-
-PLIST_FILES= bin/arj \
- bin/arj-register \
- bin/arjdisp \
- bin/rearj \
- lib/arj/arjcrypt.so
-PLIST_DIRS= lib/arj
-
-MAN1= arj-register.1 arj.1 arjdisp.1 rearj.1
PORTSCOUT= skipv:3.10g
.include <bsd.port.pre.mk>
+.if ${ARCH} == "powerpc"
+BROKEN= Does not install on powerpc
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's!/etc!${LOCALBASE}/etc!' \
${WRKSRC}/arj.c ${WRKSRC}/file_reg.c ${WRKSRC}/rearj.c
@@ -49,14 +42,10 @@ pre-build:
post-install:
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- cd ${WRKSRC}/doc && ${INSTALL_DATA} COPYING debug.txt ${DOCSDIR}
+ @${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 ${DOCSDIR}
-.endif
-
-.if ${ARCH} == "powerpc"
-BROKEN= Does not install on powerpc
+ ${INSTALL_DATA} arjl.txt arjs.txt history.txt readme.txt unix.txt ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.post.mk>
Added: head/archivers/arj/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/archivers/arj/pkg-plist Tue Sep 24 23:55:46 2013 (r328220)
@@ -0,0 +1,18 @@
+bin/arj
+bin/arj-register
+bin/arjdisp
+bin/rearj
+lib/arj/arjcrypt.so
+man/man1/arj-register.1.gz
+man/man1/arj.1.gz
+man/man1/arjdisp.1.gz
+man/man1/rearj.1.gz
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/arjl.txt
+%%PORTDOCS%%%%DOCSDIR%%/arjs.txt
+%%PORTDOCS%%%%DOCSDIR%%/debug.txt
+%%PORTDOCS%%%%DOCSDIR%%/history.txt
+%%PORTDOCS%%%%DOCSDIR%%/readme.txt
+%%PORTDOCS%%%%DOCSDIR%%/unix.txt
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
+ at dirrmtry lib/arj
More information about the svn-ports-all
mailing list