2001-03-07 12:00:31 +01:00
|
|
|
# New ports collection makefile for: oregano
|
|
|
|
# Date created: 19 Feb 2001
|
2001-11-29 18:48:01 +01:00
|
|
|
# Whom: Anders Andersson <anders@hack.org>
|
2001-03-07 12:00:31 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2007-10-25 01:37:25 +02:00
|
|
|
# $MCom: ports/cad/oregano/Makefile,v 1.9 2007/07/23 19:25:26 mezz Exp $
|
|
|
|
#
|
2001-03-07 12:00:31 +01:00
|
|
|
|
|
|
|
PORTNAME= oregano
|
2007-12-14 19:45:40 +01:00
|
|
|
PORTVERSION= 0.69.0
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 5
|
2005-06-16 18:25:27 +02:00
|
|
|
CATEGORIES= cad gnome
|
2007-12-14 19:45:40 +01:00
|
|
|
MASTER_SITES= http://gforge.lug.fi.uba.ar/frs/download.php/86/
|
2001-03-07 12:00:31 +01:00
|
|
|
|
2008-03-07 00:42:57 +01:00
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
2003-02-20 02:27:04 +01:00
|
|
|
COMMENT= Schematic capture and simulation of electrical circuits
|
2001-03-07 12:00:31 +01:00
|
|
|
|
2004-11-26 20:49:15 +01:00
|
|
|
USE_GNOME= gnomehack gnomeprefix gtksourceview intlhack libglade2 \
|
2007-12-14 19:45:40 +01:00
|
|
|
libgnomeui
|
|
|
|
USE_GETTEXT= yes
|
2006-10-09 02:35:08 +02:00
|
|
|
USE_SCONS= yes
|
2004-11-26 20:49:15 +01:00
|
|
|
INSTALLS_OMF= yes
|
|
|
|
|
2004-12-09 11:20:37 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2008-03-07 00:42:57 +01:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
2008-01-19 17:05:42 +01:00
|
|
|
|
2004-11-26 20:49:15 +01:00
|
|
|
post-patch:
|
2009-06-04 14:54:44 +02:00
|
|
|
@${REINPLACE_CMD} -e "s|-Wall|${CFLAGS}|g;s|%%PREFIX%%|${PREFIX}|;s|pkg-config|${LOCALBASE}/bin/pkg-config|g" ${WRKSRC}/SConstruct
|
2008-03-07 00:42:57 +01:00
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
@${REINPLACE_CMD} -e "/^SConscript ('po\/SConscript')/d" ${WRKSRC}/SConstruct
|
|
|
|
.endif
|
2006-06-10 14:50:45 +02:00
|
|
|
|
2006-10-09 02:35:08 +02:00
|
|
|
post-install:
|
2006-06-10 14:50:45 +02:00
|
|
|
@${STRIP_CMD} ${PREFIX}/bin/oregano
|
|
|
|
.for lang in C es fr
|
|
|
|
@${MKDIR} ${PREFIX}/share/gnome/help/oregano/${lang}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/help/${lang}/*.xml \
|
|
|
|
${PREFIX}/share/gnome/help/oregano/${lang}
|
2007-10-25 01:37:25 +02:00
|
|
|
@${MKDIR} ${PREFIX}/share/omf/oregano
|
2006-06-10 14:50:45 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/help/${lang}/*.omf \
|
2007-10-25 01:37:25 +02:00
|
|
|
${PREFIX}/share/omf/oregano
|
2006-06-10 14:50:45 +02:00
|
|
|
.endfor
|
2001-03-07 12:00:31 +01:00
|
|
|
|
2004-12-09 11:20:37 +01:00
|
|
|
.include <bsd.port.post.mk>
|