blob: 5dee4ea32d71f446ef8e8d9e31be48081b382859 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# ex:ts=8
# Ports collection makefile for: gai
# Date created: Feb 16, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= gai
PORTVERSION= 0.5.10
PORTREVISION= 8
CATEGORIES= x11-toolkits gnome
MASTER_SITES= SF
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= gl
USE_SDL= sdl
USE_GNOME= gnomepanel
GNU_CONFIGURE= yes
CONFIGURE_ENV= SDLCONF=${SDL_CONFIG} \
CPPFLAGS="`pkg-config --cflags libgnomeui-2.0`"
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= *
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e "s|sdl-config --|${SDL_CONFIG} --|g; \
s|/usr/X11R6|${LOCALBASE}|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>
|