7 CATEGORIES= x11-toolkits gnome
8 MASTER_SITES= SF/${PORTNAME}/GAI%20-%20Library/${PORTNAME}-${PORTVERSION}
10 MAINTAINER= ports@FreeBSD.org
11 COMMENT= General Applet Interface Library
13 LIB_DEPENDS= libgtkglext-x11-1.0.so:${PORTSDIR}/x11-toolkits/gtkglext
15 USES= gettext-tools pkgconfig tar:bzip2
20 CONFIGURE_ENV= SDLCONF=${SDL_CONFIG}
21 CONFIGURE_ARGS= --disable-gnome
22 CPPFLAGS+= `pkg-config --cflags libgnomeui-2.0`
24 PLIST_FILES= include/gai/gai.h lib/libgai.so.${PORTVERSION} \
25 lib/libgai.so.0 lib/libgai.so libdata/pkgconfig/gai.pc \
26 share/locale/de/LC_MESSAGES/gai.mo
33 @${REINPLACE_CMD} -e "s|sdl-config --|${SDL_CONFIG} --|g; \
34 s|/usr/X11R6|${LOCALBASE}|g" ${WRKSRC}/configure
37 cd ${WRKSRC}/docs && \
38 ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DOCSDIR}/{}" \; && \
39 ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DOCSDIR}/{}" \;
40 .for dir in docking examples templates
42 ${FIND} ${dir} -type d -exec ${MKDIR} "${STAGEDIR}${EXAMPLESDIR}/{}" \; && \
43 ${FIND} ${dir} -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${EXAMPLESDIR}/{}" \;
45 @${FIND} ${STAGEDIR}${EXAMPLESDIR} -type f | \
46 ${SED} "s,^${STAGEDIR}${PREFIX}/,," >> ${TMPPLIST}
47 @${FIND} ${STAGEDIR}${EXAMPLESDIR} -type d | ${SORT} -r | \
48 ${SED} "s,^${STAGEDIR}${PREFIX}/,@dirrm ," >> ${TMPPLIST}
50 .include <bsd.port.mk>