summaryrefslogtreecommitdiffstats
path: root/misc/jargon/Makefile
blob: 76394f06e9d2afab8e70135672f9e3a6aae28d68 (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
36
37
38
# New ports collection makefile for:  jargon
# Date created: 	11 July 1998
# Whom:			moeding
#
# $FreeBSD$
#

PORTNAME=	jargon
PORTVERSION=	4.2.0
CATEGORIES=	misc
MASTER_SITES=	http://www.tuxedo.org/~esr/jargon/                     \
		http://www.nectar.com/distfiles/

MAINTAINER=	s.moeding@ndh.net

NO_BUILD=	YES

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

post-patch:
	/usr/bin/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>
OpenPOWER on IntegriCloud