blob: 9ad15ef8fa0dc6fcb2b5f8b6509796be2c7c736f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
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
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 <bsd.port.pre.mk>
.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 <bsd.port.post.mk>
|