1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/cad/oregano/Makefile
2004-12-09 10:20:37 +00:00

40 lines
969 B
Makefile

# New ports collection makefile for: oregano
# Date created: 19 Feb 2001
# Whom: Anders Andersson <anders@hack.org>
#
# $FreeBSD$
#
PORTNAME= oregano
PORTVERSION= 0.40.0
CATEGORIES= cad
MASTER_SITES= http://gforge.lug.fi.uba.ar/frs/download.php/47/
MAINTAINER= ports@FreeBSD.org
COMMENT= Schematic capture and simulation of electrical circuits
LIB_DEPENDS= cairo.1:${PORTSDIR}/graphics/cairo
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GNOME= gnomehack gnomeprefix gtksourceview intlhack libglade2 \
libgnomeui libgnomeprintui
USE_GMAKE= yes
USE_LIBTOOL_VER= 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>
.if ${OSVERSION} < 500000
BROKEN= "Does not compile on 4.x"
.endif
post-patch:
@${REINPLACE_CMD} -e 's|src/main\.c|${PORTNAME}|g' ${WRKSRC}/configure
.include <bsd.port.post.mk>