2011-11-23 14:36:44 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.22 2011/11/23 19:36:44 pascal Exp $
|
1997-11-30 10:07:56 -05:00
|
|
|
|
2007-09-15 20:45:13 -04:00
|
|
|
COMMENT= HP48sx emulator
|
2001-05-05 20:34:40 -04:00
|
|
|
|
2011-11-23 14:36:44 -05:00
|
|
|
DISTNAME= x48-0.6.4
|
1998-10-15 00:55:16 -04:00
|
|
|
CATEGORIES= emulators
|
1997-11-30 10:07:56 -05:00
|
|
|
|
2000-10-22 10:02:46 -04:00
|
|
|
MAINTAINER= Todd T. Fries <todd@openbsd.org>
|
1998-10-15 00:55:16 -04:00
|
|
|
|
2011-11-23 14:36:44 -05:00
|
|
|
# GPLv2+
|
2000-03-14 16:39:02 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2010-10-23 18:01:29 -04:00
|
|
|
|
2011-11-23 14:36:44 -05:00
|
|
|
WANTLIB= X11 Xext c ncurses readline util
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2011-11-23 14:36:44 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_BERLIOS:=x48/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
1997-11-30 10:07:56 -05:00
|
|
|
|
2011-11-23 14:36:44 -05:00
|
|
|
AUTOCONF_VERSION= 2.60
|
|
|
|
AUTOMAKE_VERSION= 1.10
|
|
|
|
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} \
|
|
|
|
${MODGNU_AUTOMAKE_DEPENDS}
|
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ENV= LIBS="-lncurses -lutil"
|
|
|
|
CONFIGURE_ARGS= --with-appdefaultdir="${LOCALBASE}/lib/X11/app-defaults"
|
1997-11-30 10:07:56 -05:00
|
|
|
|
2002-10-26 08:52:48 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2011-11-23 14:36:44 -05:00
|
|
|
WRKDIST= ${WRKDIR}
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
|
|
|
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} sh ./autogen.sh
|
|
|
|
|
1997-11-30 10:07:56 -05:00
|
|
|
post-install:
|
2011-11-23 14:36:44 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/x48
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/x48/README-x48
|
1997-11-30 10:07:56 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|