aboutsummaryrefslogblamecommitdiffstats
path: root/graphics/opendis/Makefile
blob: 6d3251ef6c6baad14d901ad2183459bd5f04e004 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                     
                 
                        

                                              
 
                                 
 
                   
 

                                                                        
 
             


                                                             


                      
# New ports collection makefile for:    opendis
# Date created:     22 May 2001
# Whom:         Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#

PORTNAME=   opendis
PORTVERSION=    0.0.3
PORTREVISION=   1
CATEGORIES= graphics
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE} \
        http://ods.sourceforge.net/dl/
MASTER_SITE_SUBDIR= ods

MAINTAINER= ports@FreeBSD.org

GNU_CONFIGURE=  yes

post-patch:
    @${PERL} -pi -e 's|-pedantic -W|-pedantic|g' ${WRKSRC}/configure
    @${PERL} -pi -e 's| -g| \@CFLAGS\@|g' ${WRKSRC}/src/Makefile.in

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in NEWS AUTHORS doc/ERRATA doc/PHILOSOPHY doc/THUMB
    ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>