mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
56 lines
1.4 KiB
Makefile
56 lines
1.4 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: gai
|
|
# Date created: Feb 16, 2004
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gai
|
|
PORTVERSION= 0.5.10
|
|
PORTREVISION= 4
|
|
CATEGORIES= x11-toolkits gnome
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= lx@redundancy.redundancy.org
|
|
COMMENT= General Applet Interface Library
|
|
|
|
LIB_DEPENDS= gtkglext-x11-1.0:${PORTSDIR}/x11-toolkits/gtkglext
|
|
|
|
USE_BZIP2= yes
|
|
USE_GL= yes
|
|
USE_SDL= sdl
|
|
USE_GNOME= gnomepanel
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= SDLCONF=${SDL_CONFIG}
|
|
|
|
PLIST_FILES= include/gai/gai.h lib/libgai.so.${PORTVERSION} \
|
|
lib/libgai.so.0 lib/libgai.so libdata/pkgconfig/gai.pc \
|
|
share/locale/de/LC_MESSAGES/gai.mo
|
|
PLIST_DIRS= include/gai
|
|
PORTDOCS= *
|
|
INSTALLS_SHLIB= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|sdl-config --|${SDL_CONFIG} --|g; \
|
|
s|/usr/X11R6|${X11BASE}|g" ${WRKSRC}/configure
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
cd ${WRKSRC}/docs && \
|
|
${FIND} * -type d -exec ${MKDIR} "${DOCSDIR}/{}" \; && \
|
|
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \;
|
|
.endif
|
|
.for dir in docking examples templates
|
|
cd ${WRKSRC} && \
|
|
${FIND} ${dir} -type d -exec ${MKDIR} "${EXAMPLESDIR}/{}" \; && \
|
|
${FIND} ${dir} -type f -exec ${INSTALL_DATA} "{}" "${EXAMPLESDIR}/{}" \;
|
|
.endfor
|
|
@${FIND} ${EXAMPLESDIR} -type f | \
|
|
${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
|
|
@${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \
|
|
${SED} "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST}
|
|
|
|
.include <bsd.port.mk>
|