summaryrefslogtreecommitdiff
path: root/misc/jargon/Makefile
blob: 9327b8cb19af9198bcb6cdee767305723ce52cc8 (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:  jargon
# Date created: 	11 July 1998
# Whom:			moeding
#
# $FreeBSD$
#

PORTNAME=	jargon
PORTVERSION=	4.3.1
CATEGORIES=	misc
MASTER_SITES=	http://www.tuxedo.org/~esr/jargon/

MAINTAINER=	sf@FreeBSD.org

NO_BUILD=	YES

FILES=		alternates.html awards.html download.html index.html \
		jargbook.html jarghist.html jargon.html jargoogle.html \
		jargtxt.html mirroring.html mirrorlist.html quoting.html \
		related.html search.html submissions.html

post-patch:
	${PERL} -pi -e 's,/home/httpd/html,${PREFIX}/www/data,' ${WRKSRC}/jargon-search

do-install:
	@${MKDIR} ${PREFIX}/www/cgi-bin
	@${INSTALL_SCRIPT} ${WRKSRC}/jargon-search ${PREFIX}/www/cgi-bin
	@${MKDIR} ${PREFIX}/www/data/jargon
.for file in ${FILES}
	@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/www/data/jargon
.endfor
	@${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${PREFIX}/www/data/jargon
	@${CP} -R ${WRKSRC}/graphics ${PREFIX}/www/data/jargon/
	@${CP} -R ${WRKSRC}/html ${PREFIX}/www/data/jargon/
	@${MKDIR} ${PREFIX}/share/doc/jargon
	@${INSTALL_DATA} ${WRKSRC}/jargon-README ${PREFIX}/share/doc/jargon

.include <bsd.port.mk>