aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2022-03-15 13:15:35 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2022-03-15 13:36:29 +0000
commit1df8ab6a09d65b09b0cf1d877929ca5ba56edf61 (patch)
tree763515ac6a500cacc51ab21eb900df02af5d383a /cad
parentd217e3884a6b0b55be4df899586515f2dad87a49 (diff)
downloadports-1df8ab6a09d65b09b0cf1d877929ca5ba56edf61.tar.gz
ports-1df8ab6a09d65b09b0cf1d877929ca5ba56edf61.zip
cad/oregano: stop using rarian and small cleanup
rarian is deprecated and unused anymore, stop teaching oregano package to run scrollkeeper on those files. While here stop installing the compiled glib schema which will overwrite the system one. Oregano uses waf, which will wrongly run glib-compile-schema, but also update-mime-info, update-desktop-database which should be run at install time only. A real fix would be to prevent waf from running all those programs, but waf is a blackbox, and patching it is complicated per package.
Diffstat (limited to 'cad')
-rw-r--r--cad/oregano/Makefile4
-rw-r--r--cad/oregano/pkg-plist1
2 files changed, 2 insertions, 3 deletions
diff --git a/cad/oregano/Makefile b/cad/oregano/Makefile
index 5480595ebe09..905920e05616 100644
--- a/cad/oregano/Makefile
+++ b/cad/oregano/Makefile
@@ -3,6 +3,7 @@
PORTNAME= oregano
DISTVERSIONPREFIX= v
DISTVERSION= 0.84.43
+PORTREVISION= 1
CATEGORIES= cad
MAINTAINER= yuri@FreeBSD.org
@@ -22,12 +23,11 @@ USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 gtksourceview3 intltool libxml2 pan
GLIB_SCHEMAS= io.ahoi.oregano.gschema.xml
-INSTALLS_OMF= yes
-
post-patch:
@${REINPLACE_CMD} 's|$${MANDIR}|${MANPREFIX}/man|' ${WRKSRC}/data/wscript
post-stage:
@cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/oregano bin/microtests
+ ${RM} ${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/gschemas.compiled
.include <bsd.port.mk>
diff --git a/cad/oregano/pkg-plist b/cad/oregano/pkg-plist
index 47ab0555d23e..95be9022fdb0 100644
--- a/cad/oregano/pkg-plist
+++ b/cad/oregano/pkg-plist
@@ -2,7 +2,6 @@ bin/microtests
bin/oregano
man/man1/oregano.1.gz
share/applications/oregano.desktop
-share/glib-2.0/schemas/gschemas.compiled
share/help/C/oregano/figures/Screenshot-zener.oregano.png
share/help/C/oregano/figures/oregano-Generate-List.png
share/help/C/oregano/figures/oregano-Simulate.png