1999-02-17 21:37:26 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.3 1999/02/18 02:37:28 marc Exp $
|
1999-02-01 04:25:07 -05:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= libggi-2.0b1
|
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ftp://sunsite.unc.edu:/pub/ggi/ggi/2_0_beta_1/ \
|
|
|
|
ftp://synergy.caltech.edu:/pub/ggi/ggi/2_0_beta_1/ \
|
|
|
|
ftp://www.us.ggi-project.org:/pub/ggi/ggi/2_0_beta_1/ \
|
|
|
|
ftp://gd.tuwien.ac.at:/graphics/libs/ggi/ggi/2_0_beta_1/ \
|
|
|
|
ftp://ftp.gts.cz:/pub/linux/ggi/ggi/2_0_beta_1/ \
|
|
|
|
ftp://ftp.via.ecp.fr:/pub/ggi/ggi/2_0_beta_1/ \
|
|
|
|
ftp://ftp.unina.it:/pub/linux/ggi/ggi/2_0_beta_1/ \
|
1999-02-06 16:44:36 -05:00
|
|
|
ftp://sunsite.icm.edu.pl:/pub/unix/gui/ggi/ggi/2_0_beta_1/
|
1999-02-01 04:25:07 -05:00
|
|
|
|
|
|
|
MAINTAINER= todd@openbsd.org
|
|
|
|
|
|
|
|
USE_GMAKE= YES
|
|
|
|
GNU_CONFIGURE= YES
|
1999-02-17 21:37:26 -05:00
|
|
|
.if !defined(NO_SHARED_LIBS)
|
1999-02-01 04:25:07 -05:00
|
|
|
CONFIGURE_ARGS+= --enable-shared
|
|
|
|
.endif
|
|
|
|
|
|
|
|
LIB_DEPENDS= gii\\.0\\.:${PORTSDIR}/graphics/gii
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${MKDIR} -p ${docdir}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${docdir}/README
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libggi.conf ${docdir}/libggi.conf.example
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/extensions/misc/libggimisc.conf \
|
|
|
|
${docdir}/libggimisc.conf.example
|
|
|
|
|
|
|
|
docdir=${PREFIX}/share/doc/ggi
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --enable-static --with-gii=${PREFIX}/
|
|
|
|
|
|
|
|
docdir=${PREFIX}/share/doc/ggi
|