summaryrefslogtreecommitdiff
path: root/archivers/arj/Makefile
blob: a12b35249e89747a70d77c5a505cec992d685439 (plain) (blame)
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
32
33
34
35
36
37
38
# New ports collection makefile for:	ARJ archiver
# Date created:			9 April 2002
# Whom:				Konstantin Reznichenko <kot@premierbank.dp.ua>
#
# $FreeBSD$
#

PORTNAME=	arj
PORTVERSION=	3.10b
CATEGORIES=	archivers
MASTER_SITES=	${MASTER_SITE_LOCAL} \
		http://testcase.newmail.ru/files/
MASTER_SITE_SUBDIR=	keramida

MAINTAINER=	kot@premierbank.dp.ua
COMMENT=	Open-source ARJ

USE_AUTOCONF=	yes
USE_GMAKE=	yes
CONFIGURE_WRKSRC=	${WRKSRC}/gnu
MAKEFILE=	makefile.gnu

pre-build:
	@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} prepare)

do-install:
.for f in arj rearj arjdisp register
	${INSTALL_PROGRAM} ${WRKSRC}/freebsd${OSREL}/en/rs/$f/$f ${PREFIX}/bin
.endfor
	${INSTALL_PROGRAM} ${WRKSRC}/freebsd${OSREL}/en/rs/arjcrypt/arjcrypt.so ${PREFIX}/lib
.if !defined(NOPORTDOCS)
	@${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.mk>