1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/x11-toolkits/fltk/Makefile

51 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: fltk
# Version required: 1.0.7
# Date created: 11 February 1999
# Whom: Dima Sivachenko <dima@Chg.RU>
#
1999-08-31 03:04:38 +00:00
# $FreeBSD$
#
DISTNAME= fltk-1.0.7-source
PKGNAME= fltk-1.0.7
1999-04-09 19:26:49 +00:00
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}/
MAINTAINER= dima@chg.ru
1999-03-15 21:26:38 +00:00
LIB_DEPENDS= MesaGL.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>