summaryrefslogtreecommitdiffstats
path: root/deskutils/jlj/Makefile
blob: 42a5dad5f13e0d6c2c3d486edd540118b1490b89 (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
32
33
34
35
# New ports collection makefile for:	jlj
# Date created:				29 April 2001
# Whom:					Pete Fritchman <petef@databits.net>
#
# $FreeBSD$
#

PORTNAME=	jlj
PORTVERSION=	1.9
CATEGORIES=	deskutils net
MASTER_SITES=	http://www.cis.rit.edu/~jerry/Software/perl/
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	petef@FreeBSD.org

WRKSRC=		${WRKDIR}/${PORTNAME}

USE_PERL5=	yes
NO_BUILD=	yes

post-patch:
	@${PERL} -pi -e 's!/usr/bin/perl!${PERL}!' ${WRKSRC}/jlj.pl

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/jlj.pl ${PREFIX}/bin/jlj
	@${MKDIR} ${PREFIX}/share/examples/jlj
	${INSTALL_DATA} ${WRKSRC}/.livejournal.rc \
		${PREFIX}/share/examples/jlj/dot.livejournal.rc
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/jlj
	${INSTALL_DATA} ${WRKSRC}/README.JLJ ${PREFIX}/share/doc/jlj/README
.endif
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud