blob: c4631366d351257d08241b0cf673beb84ed68bc4 (
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
|
# New ports collection makefile for: fltk
# Date created: 11 February 1999
# Whom: Dima Sivachenko <dima@Chg.RU>
#
# $FreeBSD$
#
PORTNAME= fltk
PORTVERSION= 1.0.7
CATEGORIES= x11-toolkits
MASTER_SITES= ftp://ftp.fltk.org/pub/fltk/${VERSION}/ \
ftp://ftp.chg.ru/pub/X11/fltk/${VERSION}/ \
ftp://ftp2.easysw.com/pub/fltk/${VERSION}/ \
ftp://ftp.northamerica.net/pub/ESP/fltk/${VERSION}/ \
ftp://ftp.funet.fi/mirrors/ftp.easysw.com/pub/fltk/${VERSION}/ \
ftp://ftp.kddlabs.co.jp/pub/lang/fltk/${VERSION}/
DISTNAME= ${PKGNAME}-source
MAINTAINER= dima@chg.ru
LIB_DEPENDS= GL.14:${PORTSDIR}/graphics/Mesa3
VERSION= 1.0.7
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shared
WRKSRC= ${WRKDIR}/${PKGNAME}
USE_X_PREFIX= yes
MAN1= fluid.1
.include <bsd.port.pre.mk>
.if (${PORTOBJFORMAT} == "aout")
BROKEN= requires ELF library format
.endif
post-install:
@ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
@ ${INSTALL_MAN} ${WRKSRC}/documentation/fluid.1 \
${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${PREFIX}/share/doc/fltk
for ext in html gif jpg ; do \
${INSTALL_DATA} ${WRKSRC}/documentation/*.$$ext \
${PREFIX}/share/doc/fltk; \
done
${INSTALL_DATA} ${WRKSRC}/documentation/README \
${PREFIX}/share/doc/fltk
.endif
.include <bsd.port.post.mk>
|