blob: 6fe7e62ad9b42d0ef5c2f9e45045f3775f41333f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# New ports collection makefile for: oregano
# Date created: 19 Feb 2001
# Whom: Anders Andersson <anders@hack.org>
#
# $FreeBSD$
# $MCom$
#
PORTNAME= oregano
PORTVERSION= 0.60.0
PORTREVISION= 4
CATEGORIES= cad gnome
MASTER_SITES= http://gforge.lug.fi.uba.ar/frs/download.php/84/
MAINTAINER= ports@FreeBSD.org
COMMENT= Schematic capture and simulation of electrical circuits
BUILD_DEPENDS= scons:${PORTSDIR}/devel/scons
USE_BZIP2= yes
USE_XLIB= yes
USE_GETTEXT= yes
USE_GNOME= gnomehack gnomeprefix gtksourceview intlhack libglade2 \
libgnomeprintui libgnomeui
USE_SCONS= yes
INSTALLS_OMF= yes
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e "s|-Wall|${CFLAGS}|g" ${WRKSRC}/SConstruct
post-install:
@${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}
@${MKDIR} ${PREFIX}/share/omf/oregano
${INSTALL_DATA} ${WRKSRC}/help/${lang}/*.omf \
${PREFIX}/share/omf/oregano
.endfor
${INSTALL_DATA} ${WRKSRC}/gnome-oregano.svg \
${PREFIX}/share/pixmaps/gnome-oregano.svg
.include <bsd.port.post.mk>
|