pkgsrc/math/units/Makefile
ryoon f8e628f818 * .include "../../devel/readline/buildlink3.mk" with USE_GNU_READLINE=yes
are replaced with .include "../../devel/readline/buildlink3.mk", and
  USE_GNU_READLINE are removed,

* .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE
  are replaced with .include "../../mk/readline.buildlink3.mk".
2013-07-15 02:02:17 +00:00

27 lines
686 B
Makefile

# $NetBSD: Makefile,v 1.9 2013/07/15 02:02:26 ryoon Exp $
DISTNAME= units-2.01
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GNU:=units/}
MAINTAINER= cameron@patrick.wattle.id.au
HOMEPAGE= http://www.gnu.org/software/units/
COMMENT= GNU Units - a calculator capable of performing unit conversions
LICENSE= gnu-gpl-v3
.include "../../mk/bsd.prefs.mk"
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
INFO_FILES= yes
INSTALLATION_DIRS= gnu/bin
REPLACE_PYTHON= units_cur
post-install:
${LN} -sf ${PREFIX}/bin/gunits ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/units
.include "../../mk/readline.buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"