summaryrefslogblamecommitdiffstats
path: root/cad/oregano/Makefile
blob: 02ce53c1111513ccf870c11f2bbb5c1629bca4b7 (plain) (tree)
1
2
3
4
5
6




                                                                  
                                                                           









                                                                       




                                                                        
                          











                                                                              
# New ports collection makefile for:    oregano
# Date created:         19 Feb 2001
# Whom:             Anders Andersson <anders@hack.org>
#
# $FreeBSD$
#    $MCom: ports/cad/oregano/Makefile,v 1.2 2005/08/09 04:50:36 ahze Exp $
#

PORTNAME=   oregano
PORTVERSION=    0.40.5
CATEGORIES= cad gnome
MASTER_SITES=   http://gforge.lug.fi.uba.ar/frs/download.php/64/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Schematic capture and simulation of electrical circuits

USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_GNOME=  gnomehack gnomeprefix gtksourceview intlhack libglade2 \
        libgnomeprintui libgnomeui
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:15
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
MAKE_ARGS=  ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
        AUTOMAKE="${TRUE}"
INSTALLS_OMF=   yes

.include <bsd.port.pre.mk>

post-patch:
    @${REINPLACE_CMD} -e 's|src/main\.c|${PORTNAME}|g' ${WRKSRC}/configure

.include <bsd.port.post.mk>