View | Details | Raw Unified | Return to bug 101788
Collapse All | Expand All

(-)Makefile (-6 / +11 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	unarj
8
PORTNAME=	unarj
9
PORTVERSION=	2.65
9
PORTVERSION=	2.65
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	archivers
11
CATEGORIES=	archivers
12
MASTER_SITES=	${MASTER_SITE_LOCAL}
12
MASTER_SITES=	${MASTER_SITE_LOCAL}
13
MASTER_SITE_SUBDIR=	ache
13
MASTER_SITE_SUBDIR=	ache
Lines 16-29 Link Here
16
MAINTAINER=	ache@FreeBSD.org
16
MAINTAINER=	ache@FreeBSD.org
17
COMMENT=	Allows files to be extracted from ARJ archives
17
COMMENT=	Allows files to be extracted from ARJ archives
18
18
19
PLIST_FILES=	bin/unarj
20
PORTDOCS=	unarj.txt technote.txt
21
19
post-patch:
22
post-patch:
20
	${CP} ${FILESDIR}/sanitize.c ${WRKSRC}
23
	${CP} ${FILESDIR}/sanitize.c ${WRKSRC}
21
24
22
do-install:
25
do-install:
23
	${INSTALL} -d -m 755 -o ${SHAREOWN} -g ${SHAREGRP} \
26
	${INSTALL_PROGRAM} ${WRKSRC}/unarj ${TARGETDIR}/bin
24
		${PREFIX}/share/doc/unarj
27
.if !defined(NOPORTDOCS)
25
	cd ${WRKSRC}; ${INSTALL_PROGRAM} unarj ${PREFIX}/bin
28
	${INSTALL} -d -m 755 -o ${SHAREOWN} -g ${SHAREGRP} ${DOCSDIR}
26
	cd ${WRKSRC}; ${INSTALL_DATA} unarj.txt technote.txt \
29
.for i in ${PORTDOCS}	
27
		${PREFIX}/share/doc/unarj
30
	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
31
.endfor
32
.endif
28
33
29
.include <bsd.port.mk>
34
.include <bsd.port.mk>
(-)pkg-plist (-4 lines)
Removed Link Here
1
bin/unarj
2
%%DOCSDIR%%/unarj.txt
3
%%DOCSDIR%%/technote.txt
4
@dirrm %%DOCSDIR%%

Return to bug 101788