2012-09-12 01:04:15 +02:00
|
|
|
# $NetBSD: Makefile,v 1.9 2012/09/11 23:04:35 asau Exp $
|
2006-06-12 16:13:55 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= xfrac310
|
|
|
|
PKGNAME= xfractint-3.10
|
2007-04-16 16:48:31 +02:00
|
|
|
PKGREVISION= 1
|
2006-06-12 16:13:55 +02:00
|
|
|
CATEGORIES= math
|
2007-06-30 16:19:52 +02:00
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
2006-06-12 16:13:55 +02:00
|
|
|
EXTRACT_SUFX= .zip
|
|
|
|
|
2008-03-04 12:02:23 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2006-06-12 16:13:55 +02:00
|
|
|
HOMEPAGE= http://spanky.triumf.ca/pub/fractals/programs/unix/
|
|
|
|
COMMENT= Fractint for X11
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
|
|
|
|
MAKE_FLAGS+= BINDIR=${PREFIX}/bin
|
|
|
|
MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}/man1
|
2006-06-12 16:54:27 +02:00
|
|
|
MAKE_FLAGS+= SRCDIR=${PREFIX}/share/xfractint
|
2006-06-12 16:13:55 +02:00
|
|
|
BUILD_TARGET= xfractint
|
|
|
|
BUILDLINK_TRANSFORM+= l:ncurses:curses
|
|
|
|
|
2009-12-11 18:47:28 +01:00
|
|
|
INSTALLATION_DIRS= bin $(PKGMANDIR)/man1 share/xfractint
|
2006-06-12 16:54:27 +02:00
|
|
|
|
2007-04-16 16:48:31 +02:00
|
|
|
MAKE_ENV+= X11_LDFLAGS=${X11_LDFLAGS:Q}
|
|
|
|
|
2007-06-30 16:19:52 +02:00
|
|
|
# xfractint sources assume <malloc.h> exists.
|
|
|
|
# Create a fake one for platforms that don't have it.
|
|
|
|
#
|
|
|
|
post-wrapper:
|
|
|
|
if ${TEST} ! -f /usr/include/malloc.h; then \
|
|
|
|
${ECHO} "#include <stdlib.h>" \
|
|
|
|
> ${BUILDLINK_DIR}/include/malloc.h; \
|
|
|
|
fi
|
|
|
|
|
2006-06-12 16:13:55 +02:00
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
2007-02-15 15:44:04 +01:00
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
2006-06-12 16:13:55 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|