summaryrefslogblamecommitdiff
path: root/devel/cweb/Makefile
blob: 1de87a523af7efca1b7e04e945f530213924d714 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                            
                                   
                                                        
 
           

 
                    
                    



                                       
                                 
                                                             
 
                   


                      


                                                                
            
                                      
                                                        
 



                                                                       
                             

                      
# New ports collection makefile for:	cweb
# Date created:		10 Feb 1998
# Whom:			Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#

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

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Literate programming tools for the C language

USE_REINPLACE=	yes
NO_WRKSUBDIR=	yes
MAN1=		cweb.1

post-patch:
	@${REINPLACE_CMD} -e 's|cc|${CC}|' ${WRKSRC}/${MAKEFILE}

pre-install:
	@${MKDIR} ${PREFIX}/share/cweb
	@${MKDIR} ${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} ${PKGMESSAGE}

.include <bsd.port.mk>