openbsd-ports/devel/ORBit/Makefile

46 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.18 2000/07/04 01:46:37 krw Exp $
1999-03-23 14:24:31 -05:00
1999-10-29 17:35:00 -04:00
DISTNAME= ORBit-0.5.0
1999-05-06 13:17:37 -04:00
CATEGORIES= devel
NEED_VERSION= 1.310
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/ORBit
1999-03-23 14:24:31 -05:00
LIB_DEPENDS= intl::devel/gettext \
glib.1.2::devel/glib
1999-03-23 14:24:31 -05:00
1999-10-02 13:54:40 -04:00
MAINTAINER= rohee@openbsd.org
1999-03-23 14:24:31 -05:00
2000-02-12 03:02:07 -05:00
LICENSE_TYPE= GPL
2000-03-05 13:30:21 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-02-12 03:02:07 -05:00
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static --disable-indent
CONFIGURE_ENV= GLIB_CONFIG="${LOCALBASE}/bin/glib-config"
1999-05-06 13:17:37 -04:00
# People that installed an older version of ORBit 0.4.x wound up with
# shared libs with a major/minor of 4.0 ... these files
# MUST be removed as the version was incorrect (it came from 1.1.x
# sources). Check that out here (and bitch if necessary).
pre-extract:
1999-09-22 07:16:56 -04:00
@if [ -f ${LOCALBASE}/lib/libORBit.so.4.0 ]; then \
1999-10-29 17:35:00 -04:00
echo "+-------------------"; \
echo "| ERROR: you MUST remove the existing ORBit installation"; \
echo "| before installing this version. To fully remove run"; \
echo "| these commands as user root"; \
echo "|"; \
echo "| pkg_delete -f `pkg_info -e 'ORBit-*'`"; \
echo "| ldconfig ${LOCALBASE}/lib"; \
echo "|"; \
echo "+-------------------"; \
exit 1; \
1999-09-22 07:16:56 -04:00
fi
1999-03-23 14:24:31 -05:00
.include <bsd.port.mk>