summaryrefslogtreecommitdiff
path: root/x11-toolkits/gtkextra2/Makefile
blob: c6368fa519b44a5c4288647602d7de41a9105bc4 (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
36
37
38
39
# New ports collection makefile for:	gtkextra
# Date created:				17 August 2000
# Whom:					Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	gtkextra
PORTVERSION=	2.1.1
PORTREVISION=	1
CATEGORIES=	x11-toolkits
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	scigraphica
DISTNAME=	${PORTNAME:S/gtk/gtk+/}-${PORTVERSION}

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	A useful widget set complementary to GTK+ 2.0

USE_X_PREFIX=	yes
USE_LIBTOOL_VER=15
USE_GNOME=	gtk20 gnomehack
USE_GMAKE=	yes
INSTALLS_SHLIB=	yes

LATEST_LINK=	gtkextra2
DOCSDIR=	${PREFIX}/share/doc/gtkextra2

PORTDOCS=	*

post-install:
.if !defined(NOPORTDOCS)
.  for d in reference tutorial
	cd ${WRKSRC}/docs && \
	${FIND} ${d} -type d ! -empty -exec ${MKDIR} "${DOCSDIR}/{}" \; && \
	${FIND} ${d} -type f -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \;
.  endfor
.endif

.include <bsd.port.mk>