naddy ebf751b927 Update gettext to 0.20.1.
Follow the upstream recommendations for packagers and switch to
multi-packages:
devel/gettext       -> devel/gettext,-runtime
devel/gettext-tools -> devel/gettext,-tools
(new)                  devel/gettext,-textstyle
2019-05-20 22:15:00 +00:00

44 lines
949 B
Makefile

# $OpenBSD: Makefile,v 1.10 2019/05/20 22:15:13 naddy Exp $
COMMENT = interactive fractal zoomer and morpher
VERSION = 3.6
DISTNAME = xaos-${VERSION}
REVISION = 3
CATEGORIES = graphics
HOMEPAGE = http://matek.hu/xaos/doku.php
MAINTAINER = Pascal Stumpf <pascal@stumpf.co>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = X11 Xext c gsl gslcblas iconv intl m png z
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=xaos/XaoS/${VERSION}/}
BUILD_DEPENDS = devel/gettext,-tools
LIB_DEPENDS = graphics/png \
devel/gettext,-runtime \
devel/gsl
USE_GMAKE = Yes
NO_TEST= Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --with-gsl=yes \
--with-libiconv-prefix="${LOCALBASE}" \
--with-libintl-prefix="${LOCALBASE}"
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
pre-configure:
perl -pi -e 's#/usr(/share/locale)#${PREFIX}\1#g' \
${WRKSRC}/configure ${WRKSRC}/src/ui/ui.c
.include <bsd.port.mk>