1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Support stage

USES=libtool
This commit is contained in:
Baptiste Daroussin 2014-04-22 12:12:45 +00:00
parent 9d67b4ddf0
commit 1f8bfad930
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351814
2 changed files with 8 additions and 13 deletions

View File

@ -3,42 +3,36 @@
PORTNAME= gtkextra
PORTVERSION= 2.1.2
PORTREVISION= 1
PORTREVISION= 2
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
COMMENT= Useful widget set complementary to GTK+ 2.0
USES= pathfix pkgconfig gmake
USES= libtool pathfix pkgconfig gmake
USE_GNOME= gtk20
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
USE_CSTD= gnu89
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
LATEST_LINK= gtkextra2
DOCSDIR= ${PREFIX}/share/doc/gtkextra2
PORTDOCS= *
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS/s|docs||' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
${WRKSRC}/gtkextra/gtkcharsel.c
post-install:
.if ${PORT_OPTIONS:MDOCS}
.for d in reference tutorial
@${MKDIR} ${DOCSDIR}/${d}
@(cd ${WRKSRC}/docs/${d} && ${COPYTREE_SHARE} . ${DOCSDIR})
@${MKDIR} ${STAGEDIR}${DOCSDIR}/${d}
@(cd ${WRKSRC}/docs/${d} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.endfor
.endif
.include <bsd.port.mk>

View File

@ -48,6 +48,7 @@ lib/libgtkextra-x11-2.0.a
lib/libgtkextra-x11-2.0.la
lib/libgtkextra-x11-2.0.so
lib/libgtkextra-x11-2.0.so.1
lib/libgtkextra-x11-2.0.so.1.0.1
libdata/pkgconfig/gtkextra-2.0.pc
@dirrm include/gtkextra-2.0/gtkextra
@dirrm include/gtkextra-2.0