Makefile 935 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # $OpenBSD: Makefile,v 1.24 2014/06/21 11:46:07 jasper Exp $
  2. COMMENT= HP48sx emulator
  3. DISTNAME= x48-0.6.4
  4. CATEGORIES= emulators
  5. MAINTAINER= Todd T. Fries <todd@openbsd.org>
  6. # GPLv2+
  7. PERMIT_PACKAGE_CDROM= Yes
  8. WANTLIB= X11 Xext c ncurses readline util
  9. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=x48.berlios/}
  10. EXTRACT_SUFX= .tar.bz2
  11. AUTOCONF_VERSION= 2.60
  12. AUTOMAKE_VERSION= 1.10
  13. BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} \
  14. ${MODGNU_AUTOMAKE_DEPENDS}
  15. USE_GMAKE= Yes
  16. CONFIGURE_STYLE= gnu
  17. CONFIGURE_ENV= LIBS="-lncurses -lutil"
  18. CONFIGURE_ARGS= --with-appdefaultdir="${LOCALBASE}/lib/X11/app-defaults"
  19. NO_TEST= Yes
  20. WRKDIST= ${WRKDIR}
  21. post-patch:
  22. cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
  23. AUTOMAKE_VERSION=${AUTOMAKE_VERSION} sh ./autogen.sh
  24. post-install:
  25. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/x48
  26. ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/x48/README-x48
  27. .include <bsd.port.mk>