mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
2a777b380c
PR: ports/75689 Submitted by: Ports Fury
39 lines
974 B
Makefile
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>
|