1999-03-07 23:52:56 +00:00
|
|
|
# New ports collection makefile for: fltk
|
1999-05-01 02:03:09 +00:00
|
|
|
# Version required: 1.0.2
|
1999-03-07 23:52:56 +00:00
|
|
|
# Date created: 11 February 1999
|
|
|
|
# Whom: Dima Sivachenko <dima@Chg.RU>
|
|
|
|
#
|
1999-08-31 03:04:38 +00:00
|
|
|
# $FreeBSD$
|
1999-03-07 23:52:56 +00:00
|
|
|
#
|
|
|
|
|
1999-05-09 16:25:05 +00:00
|
|
|
DISTNAME= fltk-1.0.3-source
|
|
|
|
PKGNAME= fltk-1.0.3
|
1999-04-09 19:26:49 +00:00
|
|
|
CATEGORIES= x11-toolkits
|
1999-04-16 06:15:10 +00:00
|
|
|
MASTER_SITES= ftp://ftp.fltk.org/pub/fltk/${VERSION}/ \
|
1999-04-26 23:29:10 +00:00
|
|
|
ftp://ftp.chg.ru/pub/X11/fltk/${VERSION}/ \
|
1999-04-16 06:15:10 +00:00
|
|
|
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}/
|
1999-03-07 23:52:56 +00:00
|
|
|
|
|
|
|
MAINTAINER= dima@chg.ru
|
|
|
|
|
1999-03-15 21:26:38 +00:00
|
|
|
LIB_DEPENDS= MesaGL.14:${PORTSDIR}/graphics/Mesa3
|
|
|
|
|
1999-04-16 06:15:10 +00:00
|
|
|
USE_BZIP2= yes
|
1999-03-07 23:52:56 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --enable-shared
|
1999-04-26 23:29:10 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME}
|
1999-03-07 23:52:56 +00:00
|
|
|
USE_X_PREFIX= yes
|
1999-04-26 23:29:10 +00:00
|
|
|
MAN1= fluid.1
|
1999-05-09 16:25:05 +00:00
|
|
|
VERSION= 1.0.3
|
1999-03-07 23:52:56 +00:00
|
|
|
|
1999-05-01 16:56:12 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
1999-05-14 03:41:55 +00:00
|
|
|
.if (${PORTOBJFORMAT} == "aout")
|
1999-05-01 16:56:12 +00:00
|
|
|
BROKEN= requires ELF library format
|
|
|
|
.endif
|
|
|
|
|
1999-04-16 06:15:10 +00:00
|
|
|
post-install:
|
1999-04-26 23:29:10 +00:00
|
|
|
@ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
|
|
|
@ ${INSTALL_MAN} ${WRKSRC}/documentation/fluid.1 \
|
1999-04-16 06:15:10 +00:00
|
|
|
${PREFIX}/man/man1
|
1999-03-07 23:52:56 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
1999-04-16 06:15:10 +00:00
|
|
|
@ ${MKDIR} ${PREFIX}/share/doc/fltk
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/documentation/*.html \
|
|
|
|
${PREFIX}/share/doc/fltk
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/documentation/*.gif \
|
|
|
|
${PREFIX}/share/doc/fltk
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/documentation/*.jpg \
|
|
|
|
${PREFIX}/share/doc/fltk
|
1999-03-07 23:52:56 +00:00
|
|
|
.endif
|
|
|
|
|
1999-05-01 16:56:12 +00:00
|
|
|
.include <bsd.port.post.mk>
|