summaryrefslogtreecommitdiff
path: root/archivers/lbrate/Makefile
blob: 4424dcab50a202cdac3d1ec0c908328eedbbb6bb (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
# New ports collection makefile for:	lbrate
# Date created:			26 August 2001
# Whom:				Gea-Suan Lin (gslin@ccca.nctu.edu.tw)
#
# $FreeBSD$
#

PORTNAME=	lbrate
PORTVERSION=	1.0
CATEGORIES=	archivers
MASTER_SITES=	ftp://ftp.ibiblio.org/pub/Linux/utils/compress/

MAINTAINER=	gslin@ccca.nctu.edu.tw

LIB_DEPENDS=	gnugetopt:${PORTSDIR}/devel/libgnugetopt

MAN1=		lbrate.1

post-patch:
	@${PERL} -pi -e "s,^CC,#CC,g ; s,^PREFIX,#PREFIX,g ; \
		s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for FILE in COPYING ChangeLog README TODO
	@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>