summaryrefslogtreecommitdiff
path: root/archivers/unarj/Makefile
blob: fbc0575c1bba0ed99f87e6447a10f35dbd5f572d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: ache
# $FreeBSD$

PORTNAME=	unarj
PORTVERSION=	2.65
PORTREVISION=	2
CATEGORIES=	archivers
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	ache
EXTRACT_SUFX=	.tgz

MAINTAINER=	c.petrik.sosa@gmail.com
COMMENT=	Allows files to be extracted from ARJ archives

PLIST_FILES=	bin/unarj
PORTDOCS=	unarj.txt technote.txt

.include <bsd.port.options.mk>
post-patch:
	${CP} ${FILESDIR}/sanitize.c ${WRKSRC}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/unarj ${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
	${INSTALL} -d -m 755 -o ${SHAREOWN} -g ${SHAREGRP} ${DOCSDIR}
.for i in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>