summaryrefslogtreecommitdiff
path: root/x11/pipeglade/Makefile
blob: 1a0faadece66e16cabe11b1ddbccc6fb665e91a1 (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
# Created by: Bert Burgemeister <trebbu@googlemail.com>
# $FreeBSD$

PORTNAME=	pipeglade
PORTVERSION=	4.7.0
CATEGORIES=	x11 devel

MAINTAINER=	trebbu@googlemail.com
COMMENT=	Graphical user interface driven by pipes or fifos

LICENSE=	MIT

USE_GITHUB=	yes
GH_ACCOUNT=	trebb

USES=		gettext-runtime gnome pkgconfig
USE_GNOME=	cairo gdkpixbuf2 glib20 gtk30 libxml2

OPTIONS_DEFINE=	EXAMPLES
OPTIONS_SUB=	yes

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1/

post-install-EXAMPLES-on:
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_SCRIPT} ${WRKSRC}/clock.sh ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_SCRIPT} ${WRKSRC}/echo.sh ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/clock.ui ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/pipeglade.ui ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/simple_dialog.ui ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/simple_open.ui ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>