aboutsummaryrefslogtreecommitdiffstats
path: root/misc/jargon/Makefile
blob: 88354d9d2768f9d44b9e38f804b6efca6de5890e (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
39
40
41
# New ports collection makefile for:  jargon
# Date created:     11 July 1998
# Whom:         moeding
#
# $FreeBSD$
#

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

MAINTAINER= sf@FreeBSD.org

NO_BUILD=   yes
USE_REINPLACE=  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:
    @${CHMOD} +w ${WRKSRC}/jargon-search
    @${REINPLACE_CMD} -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>