blob: a09dce93280b805e83e5b7a04fa6174ada8744d0 (
plain)
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= regina
PORTVERSION= 3.9.3
CATEGORIES= lang
MASTER_SITES= SF/${PORTNAME}-rexx/${PORTNAME}-rexx/${PORTVERSION}:source \
SF/${PORTNAME}-rexx/${PORTNAME}-documentation/3.9.1:docs
PKGNAMEPREFIX= rexx-
DISTNAME= regina-rexx-${PORTVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:source
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= ${DISTNAME}.tar.gz
MAINTAINER= bob@eager.cx
COMMENT= Rexx interpreter
LICENSE= LGPL21+
USES= gmake iconv ncurses
USE_LDCONFIG= yes
USE_RC_SUBR= rxstack
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-addon-dir=${PREFIX}/lib/Regina-REXX/addons
CONFIGURE_ENV= ac_cv_c_char_unsigned=yes
MAKE_JOBS_UNSAFE= yes
CONFLICTS= rexx-imc-[0-0]* oorexx
DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
OPTIONS_DEFINE= DOCS EXAMPLES
DOCS_DISTFILES= regina.pdf:docs \
regutil.pdf:docs
post-extract-DOCS-on:
@${CP} ${DISTDIR}/${DIST_SUBDIR}/regina.pdf ${WRKDIR}
@${CP} ${DISTDIR}/${DIST_SUBDIR}/regutil.pdf ${WRKDIR}
post-patch:
@${REINPLACE_CMD} -e \
'/^examplesdir/s|=.*|= $$(datadir)/examples/$$(PACKAGE)| ; \
/$$(sysconfdir)/s|^|#|' ${WRKSRC}/Makefile.in
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/regina.pdf ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/regutil.pdf ${STAGEDIR}${DOCSDIR}
post-stage:
@${LN} -f ${STAGEDIR}/${PREFIX}/man/man1/regina.1.gz \
${STAGEDIR}/${PREFIX}/man/man1/rexx.1.gz
.include <bsd.port.mk>
|