aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cweb/Makefile
blob: 1a66e52ce269c69cece099f7fb8b761d72543cc4 (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:    cweb
# Date created:     10 Feb 1998
# Whom:         Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   cweb
PORTVERSION=    3.5
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= web/c_cpp/cweb

MAINTAINER= tg@FreeBSD.org

NO_WRKSUBDIR=   yes
MAN1=       cweb.1

pre-install:
    @${MKDIR} ${PREFIX}/share/texmf/tex/generic/misc

post-install:
    @${INSTALL_DATA} ${WRKDIR}/cwebmac-pdf.tex \
        ${PREFIX}/share/texmf/tex/generic/misc
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/cweb
    @${INSTALL_DATA} ${WRKDIR}/cwebman.tex ${PREFIX}/share/doc/cweb
.endif
    @${CAT} ${PKGDIR}/MESSAGE

.include <bsd.port.mk>