diff options
author | garga <garga@FreeBSD.org> | 2013-09-25 07:55:46 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2013-09-25 07:55:46 +0800 |
commit | 12d346e6805aa7023119ac0f26a89e90289eb722 (patch) | |
tree | 12a2752de1cdd60ea465904b230de2072539c4e0 /archivers/arj | |
parent | 9aa42dd24cd3c601cf7847b851f95b59be12156d (diff) | |
download | freebsd-ports-gnome-12d346e6805aa7023119ac0f26a89e90289eb722.tar.gz freebsd-ports-gnome-12d346e6805aa7023119ac0f26a89e90289eb722.tar.zst freebsd-ports-gnome-12d346e6805aa7023119ac0f26a89e90289eb722.zip |
Enable staging
Diffstat (limited to 'archivers/arj')
-rw-r--r-- | archivers/arj/Makefile | 25 | ||||
-rw-r--r-- | archivers/arj/pkg-plist | 18 |
2 files changed, 25 insertions, 18 deletions
diff --git a/archivers/arj/Makefile b/archivers/arj/Makefile index 657fa2712f08..747783296b62 100644 --- a/archivers/arj/Makefile +++ b/archivers/arj/Makefile @@ -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> diff --git a/archivers/arj/pkg-plist b/archivers/arj/pkg-plist new file mode 100644 index 000000000000..086cc800c86c --- /dev/null +++ b/archivers/arj/pkg-plist @@ -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%% +@dirrmtry lib/arj |