42 lines
963 B
Makefile
42 lines
963 B
Makefile
# $NetBSD: Makefile,v 1.5 2010/03/24 19:43:27 asau Exp $
|
|
#
|
|
|
|
ORDCALCVER= 0.2
|
|
PKGNAME= ordCalc-${ORDCALCVER}
|
|
DISTNAME= ordCalc_${ORDCALCVER}
|
|
PKGREVISION= 3
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://mtnmath.com/ord/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= is@NetBSD.org
|
|
HOMEPAGE= http://mtnmath.com/ord/
|
|
COMMENT= Ordinal arithmetic calculator and research tool
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_LANGUAGES= c++
|
|
USE_TOOLS+= bash bison flex gmake
|
|
USE_LIBTOOL= yes
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
BUILD_TARGET= EXE
|
|
TEST_TARGET= TEST
|
|
|
|
DOCS= ${DESTDIR}${PREFIX}/share/doc/ordCalc
|
|
|
|
AUTO_MKDIRS=yes
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/ord ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/ordCalc.pdf ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/ordinal.pdf ${DOCS}
|
|
|
|
|
|
|
|
.include "../../devel/gmp/buildlink3.mk"
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|