1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/x11-toolkits/gtkextra2/Makefile
2012-07-27 14:21:06 +00:00

44 lines
907 B
Makefile

# New ports collection makefile for: gtkextra
# Date created: 17 August 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gtkextra
PORTVERSION= 2.1.2
PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
DISTNAME= ${PORTNAME:S/gtk/gtk+/}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A useful widget set complementary to GTK+ 2.0
USE_GNOME= gtk20 gnomehack
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
USE_CSTD= gnu89
USE_LDCONFIG= yes
USE_PKGCONFIG= build
LATEST_LINK= gtkextra2
DOCSDIR= ${PREFIX}/share/doc/gtkextra2
PORTDOCS= *
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS/s|docs||' ${WRKSRC}/Makefile.in
post-install:
.if ${PORT_OPTIONS:MDOCS}
.for d in reference tutorial
@${MKDIR} ${DOCSDIR}/${d}
@(cd ${WRKSRC}/docs/${d} && ${COPYTREE_SHARE} . ${DOCSDIR})
.endfor
.endif
.include <bsd.port.mk>