freebsd-ports/cad/oregano/Makefile
Kirill Ponomarev 2a777b380c Update to version 0.40.1
PR:		ports/75689
Submitted by:	Ports Fury
2004-12-31 13:18:58 +00:00

39 lines
974 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.1
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
WRKSRC= ${WRKDIR}/${PORTNAME}-0.40.0
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GNOME= gnomehack gnomeprefix gtksourceview intlhack libglade2 \
libgnomeprintui libgnomeui
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>
post-patch:
@${REINPLACE_CMD} -e 's|src/main\.c|${PORTNAME}|g ; \
s|0\.40\.0|${PORTVERSION}|g' ${WRKSRC}/configure
.include <bsd.port.post.mk>