summaryrefslogtreecommitdiff
path: root/cad/oregano/Makefile
blob: 7c81819f41d73b04aa78dd6e2cf92e0ff75df9f4 (plain)
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
# Created by: Anders Andersson <anders@hack.org>

PORTNAME=	oregano
DISTVERSIONPREFIX=	v
DISTVERSION=	0.84.43
PORTREVISION=	2
CATEGORIES=	cad

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Schematic capture and circuit simulator

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	nroff:textproc/groff
LIB_DEPENDS=	libgoocanvas-2.0.so:graphics/goocanvas2

USES=		compiler:c11 desktop-file-utils gettext gnome pkgconfig \
		shared-mime-info waf
USE_GITHUB=	yes
GH_ACCOUNT=	drahnr
USE_GNOME=	atk cairo gdkpixbuf2 glib20 gtk30 gtksourceview3 intltool libxml2 pango

GLIB_SCHEMAS=	io.ahoi.oregano.gschema.xml

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>