aboutsummaryrefslogtreecommitdiff
path: root/cad/oregano
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-12-31 13:18:58 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-12-31 13:18:58 +0000
commit2a777b380c9c31dc7039fa7ceac0e9dc87dc802f (patch)
treeb831e9a67af0a6487bb1698f07f7e275a7f053e9 /cad/oregano
parentc6252e04dccb226d74f860cedd3568d579cd9d44 (diff)
downloadports-2a777b380c9c31dc7039fa7ceac0e9dc87dc802f.tar.gz
ports-2a777b380c9c31dc7039fa7ceac0e9dc87dc802f.zip
Notes
Diffstat (limited to 'cad/oregano')
-rw-r--r--cad/oregano/Makefile13
-rw-r--r--cad/oregano/distinfo4
-rw-r--r--cad/oregano/pkg-plist2
3 files changed, 10 insertions, 9 deletions
diff --git a/cad/oregano/Makefile b/cad/oregano/Makefile
index 7eca2186d9d3..2720a80b456b 100644
--- a/cad/oregano/Makefile
+++ b/cad/oregano/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= oregano
-PORTVERSION= 0.40.0
+PORTVERSION= 0.40.1
CATEGORIES= cad
MASTER_SITES= http://gforge.lug.fi.uba.ar/frs/download.php/47/
@@ -15,10 +15,12 @@ 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 \
- libgnomeui libgnomeprintui
+ libgnomeprintui libgnomeui
USE_GMAKE= yes
USE_LIBTOOL_VER= 15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -29,11 +31,8 @@ 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
+ @${REINPLACE_CMD} -e 's|src/main\.c|${PORTNAME}|g ; \
+ s|0\.40\.0|${PORTVERSION}|g' ${WRKSRC}/configure
.include <bsd.port.post.mk>
diff --git a/cad/oregano/distinfo b/cad/oregano/distinfo
index 3d916424416f..78b9b6a69e5c 100644
--- a/cad/oregano/distinfo
+++ b/cad/oregano/distinfo
@@ -1,2 +1,2 @@
-MD5 (oregano-0.40.0.tar.bz2) = 6c82193ab796d49adbef79aec0b99015
-SIZE (oregano-0.40.0.tar.bz2) = 894616
+MD5 (oregano-0.40.1.tar.bz2) = 6c82193ab796d49adbef79aec0b99015
+SIZE (oregano-0.40.1.tar.bz2) = 894616
diff --git a/cad/oregano/pkg-plist b/cad/oregano/pkg-plist
index 48791c656a1e..69a82d2b9b2f 100644
--- a/cad/oregano/pkg-plist
+++ b/cad/oregano/pkg-plist
@@ -60,6 +60,8 @@ share/locale/ro/LC_MESSAGES/oregano.mo
share/locale/ru/LC_MESSAGES/oregano.mo
share/locale/sv/LC_MESSAGES/oregano.mo
share/mime/packages/oregano.xml
+share/mime/text/netlist.xml
+share/mime/text/oregano.xml
@dirrm share/gnome/oregano/samples
@dirrm share/gnome/oregano/models
@dirrm share/gnome/oregano/libraries