PORTNAME= regmath PORTVERSION= 1.00 PORTREVISION= 1 CATEGORIES= math MASTER_SITES= http://home.interlog.com/~ptjm/ \ http://www.ancientgeek.org.uk/distfiles/ PKGNAMEPREFIX= rexx- DISTNAME= regmath${PORTVERSION:S/.//} MAINTAINER= bob@eager.cx COMMENT= Two mathematics libraries for Rexx WWW= http://pages.interlog.com/~pjtm/ LICENSE= MPL10 BUILD_DEPENDS= rexx:lang/rexx-regina USES= compiler zip WRKSRC= ${WRKDIR}/math USE_LDCONFIG= yes MAKEFILE= Makefile.bsd PLIST_FILES= lib/librexxmath.so lib/librxmath.so man/man1/regmath.1.gz SUB_FILES= regmath.1 README testrxmath testrexxmath PORTDOCS= regmath.pdf PORTEXAMPLES= README testrxmath testrexxmath OPTIONS_DEFINE= DOCS EXAMPLES .include .if ! ${CHOSEN_COMPILER_TYPE} == gcc CFLAGS+= -Wno-incompatible-pointer-types .endif do-install: ${INSTALL_LIB} ${WRKSRC}/librexxmath.so ${STAGEDIR}${PREFIX}/lib/ ${INSTALL_LIB} ${WRKSRC}/librxmath.so ${STAGEDIR}${PREFIX}/lib/ ${INSTALL_MAN} ${WRKDIR}/regmath.1 ${STAGEDIR}${PREFIX}/man/man1/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/regmath.pdf ${STAGEDIR}${DOCSDIR}/ do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKDIR}/README ${STAGEDIR}${EXAMPLESDIR}/ ${INSTALL_DATA} ${WRKDIR}/testrxmath ${STAGEDIR}${EXAMPLESDIR}/ ${INSTALL_DATA} ${WRKDIR}/testrexxmath ${STAGEDIR}${EXAMPLESDIR}/ .include