summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/easygtk/Makefile
blob: 316f3876e2922f229daf2bb2e735fec4e624e2d7 (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
34
35
36
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$

PORTNAME=	easygtk
PORTVERSION=	1.2
PORTREVISION=	10
CATEGORIES=	x11-toolkits
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	sobomax
EXTRACT_SUFX=	.tar

MAINTAINER=	gahr@FreeBSD.org
COMMENT=	A wrapper library for GTK+ which provides simplified GUI API

WRKSRC=		${WRKDIR}/${PORTNAME}

USE_GNOME=	gnomelibs
USE_LDCONFIG=	yes
MAKE_ENV=	MKDIR="${MKDIR}" \
		LN="${LN}"

do-install:
	${INSTALL_DATA} ${WRKSRC}/libeasygtk.a ${PREFIX}/lib/
	${INSTALL_DATA} ${WRKSRC}/easygtk.h ${PREFIX}/include/
	${INSTALL_PROGRAM} ${WRKSRC}/libeasygtk.so.1 ${PREFIX}/lib/
	${LN} -sf ${PREFIX}/lib/libeasygtk.so.1 ${PREFIX}/lib/libeasygtk.so
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/manual.html ${DOCSDIR}/
.endif
.if !defined(NOPORTEXAMPLES)
	${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/example.c ${EXAMPLESDIR}/
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud