View | Details | Raw Unified | Return to bug 179390 | Differences between
and this patch

Collapse All | Expand All

(-)Mk/Uses/pure.mk (-5 / +9 lines)
Lines 19-30 Link Here
19
_pure_ARGS=		${pure_ARGS:C/\:/ /g}
19
_pure_ARGS=		${pure_ARGS:C/\:/ /g}
20
20
21
# Sanity check
21
# Sanity check
22
.if defined(pure_ARGS) && ${_pure_ARGS} != ffi
22
.if defined(pure_ARGS)
23
IGNORE=Incorrect 'USES+= pure:${pure_ARGS}' usage: argument [${pure_ARGS}] is not recognized
23
.  for arg in ${_pure_ARGS}
24
.    if empty(_valid_ARGS:M${arg})
25
IGNORE= Incorrect 'USES+= pure:${pure_ARGS}' usage: argument [${arg}] is not recognized
26
.    endif
27
.  endfor
24
.endif
28
.endif
25
29
26
LIB_DEPENDS+=	libpure.so:${PORTSDIR}/lang/pure
30
LIB_DEPENDS+=	libpure.so:${PORTSDIR}/lang/pure
27
.include "${PORTSDIR}/Mk/Uses/gmake.mk"
31
USES=	gmake
28
32
29
.if ${_pure_ARGS:Mffi}
33
.if ${_pure_ARGS:Mffi}
30
RUN_DEPENDS+=	${LOCALBASE}/lib/pure/ffi.pure:${PORTSDIR}/devel/pure-ffi
34
RUN_DEPENDS+=	${LOCALBASE}/lib/pure/ffi.pure:${PORTSDIR}/devel/pure-ffi
Lines 31-38 Link Here
31
.endif
35
.endif
32
36
33
MAKE_ARGS+=	prefix=${PREFIX} mandir=${PREFIX}/man \
37
MAKE_ARGS+=	prefix=${PREFIX} mandir=${PREFIX}/man \
34
		CC="${CC}" CFLAGS="${CFLAGS}" \
38
		CC=${CC} CFLAGS="${CFLAGS}" \
35
		CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
39
		CXX=${CXX} CXXFLAGS="${CXXFLAGS}" \
36
		CPPFLAGS+=-I${LOCALBASE}/include \
40
		CPPFLAGS+=-I${LOCALBASE}/include \
37
		LDFLAGS+=-L${LOCALBASE}/lib
41
		LDFLAGS+=-L${LOCALBASE}/lib
38
42
(-)audio/pure-audio/Makefile (-5 / +26 lines)
Lines 3-26 Link Here
3
3
4
PORTNAME=	pure-audio
4
PORTNAME=	pure-audio
5
PORTVERSION=	0.5
5
PORTVERSION=	0.5
6
PORTREVISION=	1
6
CATEGORIES=	audio
7
CATEGORIES=	audio
8
MASTER_SITES=	https://cdn.bitbucket.org/purelang/pure-lang/downloads/
9
DIST_SUBDIR=	pure
7
10
8
MAINTAINER=	lichray@gmail.com
11
MAINTAINER=	lichray@gmail.com
9
COMMENT=	A digital audio interface for the Pure language
12
COMMENT=	Digital audio interface for the Pure language
10
13
14
LICENSE=	BSD
15
11
LIB_DEPENDS=	portaudio.2:${PORTSDIR}/audio/portaudio2 \
16
LIB_DEPENDS=	portaudio.2:${PORTSDIR}/audio/portaudio2 \
12
		samplerate:${PORTSDIR}/audio/libsamplerate \
17
		samplerate:${PORTSDIR}/audio/libsamplerate \
13
		sndfile:${PORTSDIR}/audio/libsndfile \
18
		sndfile:${PORTSDIR}/audio/libsndfile \
14
		fftw3:${PORTSDIR}/math/fftw3
19
		fftw3:${PORTSDIR}/math/fftw3
15
20
16
USE_PURE=	yes
21
USES=		pure
17
NO_STAGE=	yes
22
NO_STAGE=	yes
18
23
19
post-patch:
24
post-patch:
20
	${REINPLACE_CMD} \
25
	@${REINPLACE_CMD} \
21
		-e "s|-lportaudio|-I${LOCALBASE}/include/portaudio2 -L${LOCALBASE}/lib/portaudio2 -lportaudio|" \
26
		-e "s|-lportaudio|-I${LOCALBASE}/include/portaudio2 -L${LOCALBASE}/lib/portaudio2 -lportaudio|" \
22
		-e "s|portaudio.h|portaudio2/portaudio.h|g" \
27
		-e "s|portaudio.h|portaudio2/portaudio.h|g" \
23
	   	${WRKSRC}/Makefile
28
			${WRKSRC}/Makefile
24
29
25
.include "${.CURDIR}/../../lang/pure/bsd.pure.mk"
30
PORTDOCS=	README
31
32
PORTEXAMPLES=	*
33
34
.include <bsd.port.options.mk>
35
36
post-install:
37
.if ${PORT_OPTIONS:MDOCS}
38
	@${MKDIR} ${DOCSDIR}
39
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
40
.endif
41
42
.if ${PORT_OPTIONS:MEXAMPLES}
43
	@${MKDIR} ${EXAMPLESDIR}
44
	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
45
.endif
46
26
.include <bsd.port.mk>
47
.include <bsd.port.mk>
(-)audio/pure-audio/pkg-descr (-1 / +1 lines)
Lines 4-7 Link Here
4
to realtime scheduling on systems which have a pthreads library with the
4
to realtime scheduling on systems which have a pthreads library with the
5
POSIX realtime threads extension.
5
POSIX realtime threads extension.
6
6
7
WWW:	http://docs.pure-lang.googlecode.com/hg/pure-audio.html
7
WWW: http://docs.pure-lang.googlecode.com/hg/pure-audio.html
(-)databases/pure-sql3/Makefile (-3 / +24 lines)
Lines 3-21 Link Here
3
3
4
PORTNAME=	pure-sql3
4
PORTNAME=	pure-sql3
5
PORTVERSION=	0.4
5
PORTVERSION=	0.4
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	databases
7
CATEGORIES=	databases
8
MASTER_SITES=	https://cdn.bitbucket.org/purelang/pure-lang/downloads/
9
DIST_SUBDIR=	pure
8
10
9
MAINTAINER=	lichray@gmail.com
11
MAINTAINER=	lichray@gmail.com
10
COMMENT=	Pure language binding to the SQLite3 library
12
COMMENT=	Pure language binding to the SQLite3 library
11
13
14
LICENSE=	BSD
15
12
LIB_DEPENDS=	sqlite3:${PORTSDIR}/databases/sqlite3
16
LIB_DEPENDS=	sqlite3:${PORTSDIR}/databases/sqlite3
13
17
14
USE_PURE=	yes
18
USES=		pure
15
19
16
PLIST_FILES=	lib/pure/sql3.pure \
20
PLIST_FILES=	lib/pure/sql3.pure \
17
		lib/pure/sql3util.so
21
		lib/pure/sql3util.so
18
22
19
NO_STAGE=	yes
23
NO_STAGE=	yes
20
.include "${.CURDIR}/../../lang/pure/bsd.pure.mk"
24
25
PORTDOCS=	README
26
27
PORTEXAMPLES=	*
28
29
.include <bsd.port.options.mk>
30
31
post-install:
32
.if ${PORT_OPTIONS:MDOCS}
33
	@${MKDIR} ${DOCSDIR}
34
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
35
.endif
36
37
.if ${PORT_OPTIONS:MEXAMPLES}
38
	@${MKDIR} ${EXAMPLESDIR}
39
	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
40
.endif
41
21
.include <bsd.port.mk>
42
.include <bsd.port.mk>
(-)databases/pure-sql3/pkg-descr (-1 / +1 lines)
Lines 3-6 Link Here
3
developer access to all of Sqlite3's features in a way that is convenient
3
developer access to all of Sqlite3's features in a way that is convenient
4
for Pure programmers.
4
for Pure programmers.
5
5
6
WWW:	http://docs.pure-lang.googlecode.com/hg/pure-sql3.html
6
WWW: http://docs.pure-lang.googlecode.com/hg/pure-sql3.html
(-)devel/pure-ffi/Makefile (-4 / +25 lines)
Lines 2-21 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	pure-ffi
4
PORTNAME=	pure-ffi
5
PORTVERSION=	0.12
5
PORTVERSION=	0.13
6
PORTREVISION=	1
7
CATEGORIES=	devel
6
CATEGORIES=	devel
7
MASTER_SITES=	https://cdn.bitbucket.org/purelang/pure-lang/downloads/
8
DIST_SUBDIR=	pure
8
9
9
MAINTAINER=	lichray@gmail.com
10
MAINTAINER=	lichray@gmail.com
10
COMMENT=	Pure language interface to libffi
11
COMMENT=	Pure language interface to libffi
11
12
13
LICENSE=	GPLv3 LGPL3
14
LICENSE_COMB=	dual
15
12
LIB_DEPENDS+=	ffi:${PORTSDIR}/devel/libffi
16
LIB_DEPENDS+=	ffi:${PORTSDIR}/devel/libffi
13
17
14
USE_PURE=	yes
18
USES=		pure
15
19
16
PLIST_FILES=	lib/pure/ffi.pure \
20
PLIST_FILES=	lib/pure/ffi.pure \
17
		lib/pure/ffi.so
21
		lib/pure/ffi.so
18
22
19
NO_STAGE=	yes
23
NO_STAGE=	yes
20
.include "${.CURDIR}/../../lang/pure/bsd.pure.mk"
24
25
PORTDOCS=	README
26
27
PORTEXAMPLES=	*
28
29
.include <bsd.port.options.mk>
30
31
post-install:
32
.if ${PORT_OPTIONS:MDOCS}
33
	@${MKDIR} ${DOCSDIR}
34
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
35
.endif
36
37
.if ${PORT_OPTIONS:MEXAMPLES}
38
	@${MKDIR} ${EXAMPLESDIR}
39
	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
40
.endif
41
21
.include <bsd.port.mk>
42
.include <bsd.port.mk>
(-)devel/pure-ffi/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (pure/pure-ffi-0.12.tar.gz) = 7aba78d96cad5ce6277b9857cbe9a09d6d572cb3fa5a48a53e4a8d3e23eee32d
1
SHA256 (pure/pure-ffi-0.13.tar.gz) = 1c605ee261a6a8fe60684e764ba1f12dfd2e1e09290190411314b35a71a69636
2
SIZE (pure/pure-ffi-0.12.tar.gz) = 39868
2
SIZE (pure/pure-ffi-0.13.tar.gz) = 39857
(-)devel/pure-ffi/pkg-descr (-1 / +1 lines)
Lines 3-6 Link Here
3
built-in C interface in that it also handles C structs and makes Pure
3
built-in C interface in that it also handles C structs and makes Pure
4
functions callable from C without writing a single line of C code.
4
functions callable from C without writing a single line of C code.
5
5
6
WWW:	http://docs.pure-lang.googlecode.com/hg/pure-ffi.html
6
WWW: http://docs.pure-lang.googlecode.com/hg/pure-ffi.html
(-)devel/pure-gen/Makefile (-7 / +33 lines)
Lines 2-22 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	pure-gen
4
PORTNAME=	pure-gen
5
PORTVERSION=	0.15
5
PORTVERSION=	0.16
6
CATEGORIES=	devel
6
CATEGORIES=	devel
7
MASTER_SITES=	https://cdn.bitbucket.org/purelang/pure-lang/downloads/
8
DIST_SUBDIR=	pure
7
9
8
MAINTAINER=	lichray@gmail.com
10
MAINTAINER=	lichray@gmail.com
9
COMMENT=	A C interface generator for the Pure language
11
COMMENT=	C interface generator for the Pure language
10
12
13
LICENSE=	BSD
14
11
BUILD_DEPENDS=	ghc:${PORTSDIR}/lang/ghc \
15
BUILD_DEPENDS=	ghc:${PORTSDIR}/lang/ghc \
12
		hs-language-c>=0.3.2:${PORTSDIR}/devel/hs-language-c
16
		hs-language-c>=0.3.2:${PORTSDIR}/devel/hs-language-c
13
17
14
USE_PURE=	yes
18
NO_STAGE=	yes
15
19
16
MAN1=		pure-gen.1
20
CC=		gcc
17
21
18
CC= 		gcc
22
USES=		pure:ffi
23
USE_GCC=	4.6+
19
24
20
NO_STAGE=	yes
25
MAN1=		${PORTNAME}.1
21
.include "${.CURDIR}/../../lang/pure/bsd.pure.mk"
26
27
PLIST_FILES=	bin/${PORTNAME} \
28
		lib/${PORTNAME}/dump-ast
29
PLIST_DIRS=	lib/${PORTNAME}
30
31
PORTDOCS=	README README.dump-ast
32
33
PORTEXAMPLES=	*
34
35
.include <bsd.port.options.mk>
36
37
post-install:
38
.if ${PORT_OPTIONS:MDOCS}
39
	@${MKDIR} ${DOCSDIR}
40
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
41
.endif
42
43
.if ${PORT_OPTIONS:MEXAMPLES}
44
	@${MKDIR} ${EXAMPLESDIR}
45
	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
46
.endif
47
22
.include <bsd.port.mk>
48
.include <bsd.port.mk>
(-)devel/pure-gen/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (pure/pure-gen-0.15.tar.gz) = e51921028f09710564b973d4ecd279f8654a8943c5aed8ddde0355bbb8a67bc6
1
SHA256 (pure/pure-gen-0.16.tar.gz) = 077c2db73b0894f45b68a8d1d98b493bc94c63d85de04f918d66771732b3aa8c
2
SIZE (pure/pure-gen-0.15.tar.gz) = 57590
2
SIZE (pure/pure-gen-0.16.tar.gz) = 69391
(-)devel/pure-gen/pkg-descr (-1 / +1 lines)
Lines 7-10 Link Here
7
code which can be called via C. Interfaces to C++ can be made using SWIG's
7
code which can be called via C. Interfaces to C++ can be made using SWIG's
8
new C language module which can wrap arbitrary C++ libraries in C.
8
new C language module which can wrap arbitrary C++ libraries in C.
9
9
10
WWW:	http://docs.pure-lang.googlecode.com/hg/pure-gen.html
10
WWW: http://docs.pure-lang.googlecode.com/hg/pure-gen.html
(-)devel/pure-gen/pkg-plist (-3 lines)
Lines 1-3 Link Here
1
bin/pure-gen
2
lib/pure-gen/dump-ast
3
@dirrm lib/pure-gen
(-)devel/pure-readline/Makefile (-5 / +19 lines)
Lines 2-19 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	pure-readline
4
PORTNAME=	pure-readline
5
PORTVERSION=	0.1
5
PORTVERSION=	0.2
6
CATEGORIES=	devel
6
CATEGORIES=	devel
7
MASTER_SITES=	https://cdn.bitbucket.org/purelang/pure-lang/downloads/
8
DIST_SUBDIR=	pure
7
9
8
MAINTAINER=	lichray@gmail.com
10
MAINTAINER=	lichray@gmail.com
9
COMMENT=	A readline interface for the Pure language
11
COMMENT=	Readline interface for the Pure language
10
12
11
USE_PURE=	yes
13
LICENSE=	BSD GPLv3
12
NO_PURE_EXAMPLES=	yes
14
LICENSE_COMB=	dual
13
15
16
USES=		pure
17
14
PLIST_FILES=	lib/pure/readline.pure \
18
PLIST_FILES=	lib/pure/readline.pure \
15
		lib/pure/readline.so
19
		lib/pure/readline.so
16
20
17
NO_STAGE=	yes
21
NO_STAGE=	yes
18
.include "${.CURDIR}/../../lang/pure/bsd.pure.mk"
22
23
PORTDOCS=	README
24
25
.include <bsd.port.options.mk>
26
27
post-install:
28
.if ${PORT_OPTIONS:MDOCS}
29
	@${MKDIR} ${DOCSDIR}
30
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
31
.endif
32
19
.include <bsd.port.mk>
33
.include <bsd.port.mk>
(-)devel/pure-readline/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (pure/pure-readline-0.1.tar.gz) = a8721d58d2d34c803967923a2ebd1b8f612abfe8d4ad75d6796bee5bbc3c45a2
1
SHA256 (pure/pure-readline-0.2.tar.gz) = 543686305921de4a6c295c8320be0c8fb273ae5219dbda9e17a85c27d9cd1baf
2
SIZE (pure/pure-readline-0.1.tar.gz) = 16358
2
SIZE (pure/pure-readline-0.2.tar.gz) = 19015
(-)devel/pure-readline/pkg-descr (-1 / +1 lines)
Lines 2-5 Link Here
2
Pure expressions, and the C++ Standard Template Library algorithms that act
2
Pure expressions, and the C++ Standard Template Library algorithms that act
3
on them.
3
on them.
4
4
5
WWW:	http://docs.pure-lang.googlecode.com/hg/pure-readline.html
5
WWW: http://docs.pure-lang.googlecode.com/hg/pure-readline.html
(-)graphics/pure-gl/Makefile (-5 / +24 lines)
Lines 3-21 Link Here
3
3
4
PORTNAME=	pure-gl
4
PORTNAME=	pure-gl
5
PORTVERSION=	0.8
5
PORTVERSION=	0.8
6
PORTREVISION=	2
6
PORTREVISION=	3
7
CATEGORIES=	graphics
7
CATEGORIES=	graphics
8
MASTER_SITES	https://cdn.bitbucket.org/purelang/pure-lang/downloads/
9
DIST_SUBDIR=	pure
8
10
9
MAINTAINER=	lichray@gmail.com
11
MAINTAINER=	lichray@gmail.com
10
COMMENT=	Pure language interface to OpenGL
12
COMMENT=	Pure language interface to OpenGL
11
13
12
RUN_DEPENDS+=	${LOCALBASE}/lib/pure/ffi.pure:${PORTSDIR}/devel/pure-ffi
14
LICENSE=	BSD
13
15
14
USE_PURE=	yes
16
USES=		pure:ffi
15
USE_GL=	glut
17
USE_GL=		glut
16
18
17
MAKE_ARGS+=	LinkGL="-lglut -lGLU -lGL"
19
MAKE_ARGS+=	LinkGL="-lglut -lGLU -lGL"
18
20
19
NO_STAGE=	yes
21
NO_STAGE=	yes
20
.include "${.CURDIR}/../../lang/pure/bsd.pure.mk"
22
23
PORTDOCS=	README
24
25
PORTEXAMPLES=	*
26
27
.include <bsd.port.options.mk>
28
29
post-install:
30
.if ${PORT_OPTIONS:MDOCS}
31
	@${MKDIR} ${DOCSDIR}
32
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
33
.endif
34
35
.if ${PORT_OPTIONS:MEXAMPLES}
36
	@${MKDIR} ${EXAMPLESDIR}
37
	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
38
.endif
39
21
.include <bsd.port.mk>
40
.include <bsd.port.mk>
(-)graphics/pure-gl/pkg-descr (-1 / +1 lines)
Lines 3-6 Link Here
3
Extensions are loaded on demand, functions will throw an exception if they
3
Extensions are loaded on demand, functions will throw an exception if they
4
are not available in your OpenGL implementation.
4
are not available in your OpenGL implementation.
5
5
6
WWW:	http://docs.pure-lang.googlecode.com/hg/pure-gl.html
6
WWW: http://docs.pure-lang.googlecode.com/hg/pure-gl.html
(-)lang/pure/Makefile (-55 / +44 lines)
Lines 2-11 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	pure
4
PORTNAME=	pure
5
PORTVERSION=	0.55
5
PORTVERSION=	0.58
6
CATEGORIES=	lang
6
CATEGORIES=	lang
7
DISTFILES=	${PORTNAME}-${PORTVERSION}.tar.gz \
7
MASTER_SITES=	https://cdn.bitbucket.org/purelang/pure-lang/downloads/
8
		${PORTNAME}-docs-${PORTVERSION}.tar.gz
8
DISTFILES=	${PORTNAME}-${PORTVERSION}.tar.gz ${PORTNAME}-docs-${PORTVERSION}.tar.gz
9
DIST_SUBDIR=	pure
9
10
10
MAINTAINER=	lichray@gmail.com
11
MAINTAINER=	lichray@gmail.com
11
COMMENT=	Modern-style functional programming language
12
COMMENT=	Modern-style functional programming language
Lines 15-48 Link Here
15
16
16
LIB_DEPENDS=	libgmp.so:${PORTSDIR}/math/gmp \
17
LIB_DEPENDS=	libgmp.so:${PORTSDIR}/math/gmp \
17
		libmpfr.so:${PORTSDIR}/math/mpfr
18
		libmpfr.so:${PORTSDIR}/math/mpfr
18
BUILD_DEPENDS=	llvm31>=3.1:${PORTSDIR}/devel/llvm31
19
BUILD_DEPENDS=	llvm>=3.2:${PORTSDIR}/devel/llvm
19
RUN_DEPENDS=	llvm31>=3.1:${PORTSDIR}/devel/llvm31
20
RUN_DEPENDS:=	${BUILD_DEPENDS}
20
21
21
USES=		iconv pkgconfig
22
SUB_FILES=	pkg-message
23
24
USES=		gmake iconv pathfix pkgconfig
22
USE_AUTOTOOLS=	libltdl
25
USE_AUTOTOOLS=	libltdl
23
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
24
USE_GNOME=	gnomehack
27
CONFIGURE_ARGS=	--with-libgmp-prefix=${LOCALBASE} --enable-release
25
USE_LDCONFIG=	yes
28
USE_LDCONFIG=	yes
26
USE_PURE=	yes
27
29
28
CONFIGURE_ARGS=	--with-libgmp-prefix=${LOCALBASE} --enable-release
30
MAKE_ARGS+=	prefix=${PREFIX} mandir=${PREFIX}/man \
31
		CC=${CC} CFLAGS="${CFLAGS}" \
32
		CXX=${CXX} CXXFLAGS="${CXXFLAGS}" \
33
		CPPFLAGS+=-I${LOCALBASE}/include \
34
		LDFLAGS+=-L${LOCALBASE}/lib
29
35
30
OPTIONS_DEFINE=	EMACS
36
PORTDOCS=	*
37
PORTEXAMPLES=	*
38
39
OPTIONS_DEFINE=	DOCS EMACS ETC EXAMPLES
40
31
EMACS_DESC=	Compile pure-mode.el with Emacs
41
EMACS_DESC=	Compile pure-mode.el with Emacs
42
ETC_DESC=	Copy Pure syntax highlighting to ${DATADIR}/etc
32
43
33
MAN1=		pure.1
44
OPTIONS_DEFAULT=	ETC
34
SUB_FILES=	pkg-message
35
45
36
NO_STAGE=	yes
46
OPTIONS_SUB=	yes
47
48
EMACS_CONFIGURE_ENABLE=		--with-elisp
49
EMACS_CONFIGURE_DISABLE=	--without-elisp
50
37
.include <bsd.port.options.mk>
51
.include <bsd.port.options.mk>
38
52
39
.if ${PORT_OPTIONS:MEMACS}
53
.if ${PORT_OPTIONS:MEMACS}
40
USE_EMACS=	yes
54
USE_EMACS=	yes
41
MAKE_ARGS+=	emacs_prefix=${PREFIX}
55
MAKE_ARGS+=	emacs_prefix=${PREFIX}
42
PLIST_SUB+=	ELC=""
56
.endif
57
58
.if ${OSVERSION} < 900014
59
SUB_LIST+=	NOCLANG=""
43
.else
60
.else
44
CONFIGURE_ARGS+=	--without-elisp
61
SUB_LIST+=	NOCLANG="@comment "
45
PLIST_SUB+=	ELC="@comment "
46
.endif
62
.endif
47
63
48
# automatically disable readline support if editline support is available
64
# automatically disable readline support if editline support is available
Lines 54-101 Link Here
54
CONFIGURE_TARGET=	x86_64-portbld-freebsd
70
CONFIGURE_TARGET=	x86_64-portbld-freebsd
55
.endif
71
.endif
56
72
57
PORTDATA=	*
73
post-install:
58
PORTEXAMPLES=	*
74
.if ${PORT_OPTIONS:METC}
59
PORTDOCS=	*
75
	@${MKDIR} ${STAGEDIR}${DATADIR}/etc/
60
76
	@(cd ${WRKSRC} && ${RM} -f etc/*.in && ${COPYTREE_SHARE} etc/ ${STAGEDIR}${DATADIR})
61
.if !defined(NOPORTDATA)
62
SUB_LIST+=	ETC=""
63
.else
64
SUB_LIST+=	ETC="@comment "
65
.endif
77
.endif
66
78
67
.if !defined(NOPORTDOCS)
79
.if ${PORT_OPTIONS:MDOCS}
68
PLIST_SUB+=	DOCS=""
80
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
69
.else
81
	@(cd ${WRKDIR}/${PORTNAME}-docs-${PORTVERSION} && ${RM} -f Makefile && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
70
PLIST_SUB+=	DOCS="@comment "
82
	${LN} -sf ${DOCSDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/docs
71
.endif
83
.endif
72
84
73
.if ${OSVERSION} < 900014
85
.if ${PORT_OPTIONS:MEXAMPLES}
74
SUB_LIST+=	NOCLANG=""
86
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
75
.else
87
	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
76
SUB_LIST+=	NOCLANG="@comment "
77
.endif
88
.endif
78
89
79
.include "${.CURDIR}/bsd.pure.mk"
90
.include <bsd.port.mk>
80
.include <bsd.port.pre.mk>
81
82
post-install:
83
.if !defined(NOPORTDATA)
84
	@${MKDIR} ${DATADIR}/etc
85
	(cd ${WRKSRC} && ${RM} -f etc/*.in && ${COPYTREE_SHARE} etc ${DATADIR})
86
.endif
87
.if !defined(NOPORTEXAMPLES)
88
	@${MKDIR} ${EXAMPLESDIR}
89
	(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
90
.endif
91
.if !defined(NOPORTDOCS)
92
	@${MKDIR} ${DOCSDIR}
93
	(cd ${WRKDIR}/${PORTNAME}-docs-${PORTVERSION} && \
94
		${RM} -f Makefile && ${COPYTREE_SHARE} . ${DOCSDIR})
95
	${LN} -fs ${DOCSDIR} ${PREFIX}/lib/${PORTNAME}/docs
96
.endif
97
	@${ECHO_MSG}
98
	@${CAT} ${PKGMESSAGE}
99
	@${ECHO_MSG}
100
101
.include <bsd.port.post.mk>
(-)lang/pure/distinfo (-4 / +4 lines)
Lines 1-4 Link Here
1
SHA256 (pure/pure-0.55.tar.gz) = 36dbf1b77719a8031766b30812ac89102188d01ae9da80c2b53889f501cb58a7
1
SHA256 (pure/pure-0.58.tar.gz) = b1f65c8fd6e41b7db60a11314d0ac996150b5593a84e930cd9c8bb6ad17e1ea0
2
SIZE (pure/pure-0.55.tar.gz) = 1147787
2
SIZE (pure/pure-0.58.tar.gz) = 1465322
3
SHA256 (pure/pure-docs-0.55.tar.gz) = 2cd0045c8fd126cf41cb847f2842e11b7c0480c8cb8d5ea33470cf7edcfd1db9
3
SHA256 (pure/pure-docs-0.58.tar.gz) = 4374949a3d78db6363d110322dc34c1f97c8c81688a126ccdba4b9b638953b85
4
SIZE (pure/pure-docs-0.55.tar.gz) = 3540249
4
SIZE (pure/pure-docs-0.58.tar.gz) = 4816134
(-)lang/pure/pkg-descr (-1 / +1 lines)
Lines 5-8 Link Here
5
interface. The interpreter uses LLVM as a backend to JIT-compile Pure
5
interface. The interpreter uses LLVM as a backend to JIT-compile Pure
6
programs to fast native code.
6
programs to fast native code.
7
7
8
WWW:	https://code.google.com/p/pure-lang/
8
WWW: http://purelang.bitbucket.org/
(-)lang/pure/pkg-plist (-4 / +17 lines)
Lines 6-11 Link Here
6
lib/pure/array.pure
6
lib/pure/array.pure
7
lib/pure/avltrees.pure
7
lib/pure/avltrees.pure
8
lib/pure/dict.pure
8
lib/pure/dict.pure
9
lib/pure/docs
10
lib/pure/enum.pure
9
lib/pure/faustui.pure
11
lib/pure/faustui.pure
10
lib/pure/getopt.pure
12
lib/pure/getopt.pure
11
lib/pure/heap.pure
13
lib/pure/heap.pure
Lines 18-24 Link Here
18
lib/pure/pure_main.c
20
lib/pure/pure_main.c
19
lib/pure/pure_main.o
21
lib/pure/pure_main.o
20
lib/pure/quasiquote.pure
22
lib/pure/quasiquote.pure
21
lib/pure/quasiquote1.pure
22
lib/pure/records.pure
23
lib/pure/records.pure
23
lib/pure/regex.pure
24
lib/pure/regex.pure
24
lib/pure/set.pure
25
lib/pure/set.pure
Lines 25-32 Link Here
25
lib/pure/strings.pure
26
lib/pure/strings.pure
26
lib/pure/system.pure
27
lib/pure/system.pure
27
libdata/pkgconfig/pure.pc
28
libdata/pkgconfig/pure.pc
28
%%ELC%%%%EMACS_SITE_LISPDIR%%/pure-mode.el
29
man/man1/pure.1.gz
29
%%ELC%%%%EMACS_SITE_LISPDIR%%/pure-mode.elc
30
%%EMACS%%share/emacs/site-lisp/pure-mode.el
30
%%DOCS%%lib/pure/docs
31
%%EMACS%%share/emacs/site-lisp/pure-mode.elc
32
%%ETC%%%%DATADIR%%/etc/pure-highlight.lang
33
%%ETC%%%%DATADIR%%/etc/pure-mode.el
34
%%EMACS%%%%ETC%%%%DATADIR%%/etc/pure-mode.elc
35
%%ETC%%%%DATADIR%%/etc/pure.lang
36
%%ETC%%%%DATADIR%%/etc/pure.nanorc
37
%%ETC%%%%DATADIR%%/etc/pure.plist
38
%%ETC%%%%DATADIR%%/etc/pure.py
39
%%ETC%%%%DATADIR%%/etc/pure.ssh
40
%%ETC%%%%DATADIR%%/etc/pure.vim
41
%%ETC%%%%DATADIR%%/etc/pure.xml
42
%%ETC%%@dirrm %%DATADIR%%/etc
43
%%ETC%%@dirrm %%DATADIR%%
31
@dirrm lib/pure
44
@dirrm lib/pure
32
@dirrm include/pure
45
@dirrm include/pure
(-)math/pure-mpfr/Makefile (-5 / +27 lines)
Lines 3-21 Link Here
3
3
4
PORTNAME=	pure-mpfr
4
PORTNAME=	pure-mpfr
5
PORTVERSION=	0.4
5
PORTVERSION=	0.4
6
PORTREVISION=	1
6
CATEGORIES=	math
7
CATEGORIES=	math
8
MASTER_SITES=	https://cdn.bitbucket.org/purelang/pure-lang/downloads/
9
DIST_SUBDIR=	pure
7
10
8
MAINTAINER=	lichray@gmail.com
11
MAINTAINER=	lichray@gmail.com
9
COMMENT=	Multiprecision floats for Pure
12
COMMENT=	Multiprecision floats for Pure
10
13
11
USE_PURE=	yes
14
LICENSE=	GPLv3 LGPL3
12
USES=		pkgconfig
15
LICENSE_COMB=	dual
13
16
17
MAKE_ARGS+=	libdir="${PREFIX}/lib"
18
19
USES=		pkgconfig pure
20
14
PLIST_FILES=	lib/pure/mpfr.pure \
21
PLIST_FILES=	lib/pure/mpfr.pure \
15
		lib/pure/mpfr.so
22
		lib/pure/mpfr.so
16
23
17
MAKE_ARGS+=	libdir="${PREFIX}/lib"
24
NO_STAGE=	yes
18
25
19
NO_STAGE=	yes
26
PORTDOCS=	README
20
.include "${.CURDIR}/../../lang/pure/bsd.pure.mk"
27
28
PORTEXAMPLES=	*
29
30
.include <bsd.port.options.mk>
31
32
post-install:
33
.if ${PORT_OPTIONS:MDOCS}
34
	@${MKDIR} ${DOCSDIR}
35
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
36
.endif
37
38
.if ${PORT_OPTIONS:MEXAMPLES}
39
	@${MKDIR} ${EXAMPLESDIR}
40
	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
41
.endif
42
21
.include <bsd.port.mk>
43
.include <bsd.port.mk>
(-)math/pure-mpfr/pkg-descr (-1 / +1 lines)
Lines 2-5 Link Here
2
mpfr numbers or values) available in Pure, so that they work with the other
2
mpfr numbers or values) available in Pure, so that they work with the other
3
types of Pure numbers in an almost seamless fashion.
3
types of Pure numbers in an almost seamless fashion.
4
4
5
WWW:	http://docs.pure-lang.googlecode.com/hg/pure-mpfr.html
5
WWW: http://docs.pure-lang.googlecode.com/hg/pure-mpfr.html
(-)math/pure-rational/Makefile (-3 / +14 lines)
Lines 5-10 Link Here
5
PORTVERSION=	0.1
5
PORTVERSION=	0.1
6
PORTREVISION=	1
6
PORTREVISION=	1
7
CATEGORIES=	math
7
CATEGORIES=	math
8
MASTER_SITES=	https://cdn.bitbucket.org/purelang/pure-lang/downloads/
9
DIST_SUBDIR=	pure
8
10
9
MAINTAINER=	lichray@gmail.com
11
MAINTAINER=	lichray@gmail.com
10
COMMENT=	Rational number library for the Pure language
12
COMMENT=	Rational number library for the Pure language
Lines 11-22 Link Here
11
13
12
LICENSE=	GPLv3
14
LICENSE=	GPLv3
13
15
14
USE_PURE=	yes
16
USES=		pure
15
NO_PURE_EXAMPLES=	yes
16
17
17
PLIST_FILES=	lib/pure/rational.pure \
18
PLIST_FILES=	lib/pure/rational.pure \
18
		lib/pure/rat_interval.pure
19
		lib/pure/rat_interval.pure
19
20
20
NO_STAGE=	yes
21
NO_STAGE=	yes
21
.include "${.CURDIR}/../../lang/pure/bsd.pure.mk"
22
23
PORTDOCS=	README
24
25
.include <bsd.port.options.mk>
26
27
post-install:
28
.if ${PORT_OPTIONS:MDOCS}
29
	@${MKDIR} ${DOCSDIR}
30
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
31
.endif
32
22
.include <bsd.port.mk>
33
.include <bsd.port.mk>
(-)math/pure-rational/pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
pure-rational provides additional operations on the rational number type
1
pure-rational provides additional operations on the rational number type
2
provided by the math.pure module in the standard library.
2
provided by the math.pure module in the standard library.
3
3
4
WWW:	http://docs.pure-lang.googlecode.com/hg/pure-rational.html
4
WWW: http://docs.pure-lang.googlecode.com/hg/pure-rational.html
(-)net/pure-sockets/Makefile (-2 / +25 lines)
Lines 3-18 Link Here
3
3
4
PORTNAME=	pure-sockets
4
PORTNAME=	pure-sockets
5
PORTVERSION=	0.6
5
PORTVERSION=	0.6
6
PORTREVISION=	1
6
CATEGORIES=	net
7
CATEGORIES=	net
8
MASTER_SITES=	https://cdn.bitbucket.org/purelang/pure-lang/downloads/
9
DIST_SUBDIR=	pure
7
10
8
MAINTAINER=	lichray@gmail.com
11
MAINTAINER=	lichray@gmail.com
9
COMMENT=	Pure language interface to the Berkeley socket functions
12
COMMENT=	Pure language interface to the Berkeley socket functions
10
13
11
USE_PURE=	yes
14
LICENSE=	GPLv3 LGPL3
15
LICENSE_COMB=	dual
12
16
17
USES=		pure
18
13
PLIST_FILES=	lib/pure/sockets.pure \
19
PLIST_FILES=	lib/pure/sockets.pure \
14
		lib/pure/sockets.so
20
		lib/pure/sockets.so
15
21
16
NO_STAGE=	yes
22
NO_STAGE=	yes
17
.include "${.CURDIR}/../../lang/pure/bsd.pure.mk"
23
24
PORTDOCS=	README
25
26
PORTEXAMPLES=	*
27
28
.include <bsd.port.options.mk>
29
30
post-install:
31
.if ${PORT_OPTIONS:MDOCS}
32
	@${MKDIR} ${DOCSDIR}
33
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
34
.endif
35
36
.if ${PORT_OPTIONS:MEXAMPLES}
37
	@${MKDIR} ${EXAMPLESDIR}
38
	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
39
.endif
40
18
.include <bsd.port.mk>
41
.include <bsd.port.mk>
(-)net/pure-sockets/pkg-descr (-1 / +1 lines)
Lines 3-6 Link Here
3
protocols and use these to transmit messages. Unix-style file sockets are
3
protocols and use these to transmit messages. Unix-style file sockets are
4
also available if the host system supports them.
4
also available if the host system supports them.
5
5
6
WWW:	http://docs.pure-lang.googlecode.com/hg/pure-sockets.html
6
WWW: http://docs.pure-lang.googlecode.com/hg/pure-sockets.html
(-)textproc/pure-csv/Makefile (-4 / +18 lines)
Lines 3-19 Link Here
3
3
4
PORTNAME=	pure-csv
4
PORTNAME=	pure-csv
5
PORTVERSION=	1.5
5
PORTVERSION=	1.5
6
PORTREVISION=	1
6
CATEGORIES=	textproc
7
CATEGORIES=	textproc
8
MASTER_SITES=	https://cdn.bitbucket.org/purelang/pure-lang/downloads/
9
DIST_SUBDIR=	pure
7
10
8
MAINTAINER=	lichray@gmail.com
11
MAINTAINER=	lichray@gmail.com
9
COMMENT=	A CSV reading and writing module for the Pure language
12
COMMENT=	CSV reading and writing module for the Pure language
10
13
11
USE_PURE=	yes
14
LICENSE=	BSD
12
NO_PURE_EXAMPLES=	yes
13
15
16
USES=		pure
17
14
PLIST_FILES=	lib/pure/csv.pure \
18
PLIST_FILES=	lib/pure/csv.pure \
15
		lib/pure/csv.so
19
		lib/pure/csv.so
16
20
17
NO_STAGE=	yes
21
NO_STAGE=	yes
18
.include "${.CURDIR}/../../lang/pure/bsd.pure.mk"
22
23
PORTDOCS=	README
24
25
.include <bsd.port.options.mk>
26
27
post-install:
28
.if ${PORT_OPTIONS:MDOCS}
29
	@${MKDIR} ${DOCSDIR}
30
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
31
.endif
32
19
.include <bsd.port.mk>
33
.include <bsd.port.mk>
(-)textproc/pure-csv/pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
pure-csv is a module for reading and writing Comma Separated Value (CSV)
1
pure-csv is a module for reading and writing Comma Separated Value (CSV)
2
files from within Pure.
2
files from within Pure.
3
3
4
WWW:	http://docs.pure-lang.googlecode.com/hg/pure-csv.html
4
WWW: http://docs.pure-lang.googlecode.com/hg/pure-csv.html
(-)textproc/pure-xml/Makefile (-3 / +25 lines)
Lines 3-15 Link Here
3
3
4
PORTNAME=	pure-xml
4
PORTNAME=	pure-xml
5
PORTVERSION=	0.6
5
PORTVERSION=	0.6
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	textproc
7
CATEGORIES=	textproc
8
MASTER_SITES=	https://cdn.bitbucket.org/purelang/pure-lang/downloads/
9
DIST_SUBDIR=	pure
8
10
9
MAINTAINER=	lichray@gmail.com
11
MAINTAINER=	lichray@gmail.com
10
COMMENT=	Pure language interface for libxml2 and libxslt
12
COMMENT=	Pure language interface for libxml2 and libxslt
11
13
12
USE_PURE=	yes
14
LICENSE=	GPLv3 LGPL3
15
LICENSE_COMB=	dual
16
17
USES=		pure
13
USE_GNOME=	libxml2 libxslt
18
USE_GNOME=	libxml2 libxslt
14
19
15
PLIST_FILES=	lib/pure/xml.pure \
20
PLIST_FILES=	lib/pure/xml.pure \
Lines 16-20 Link Here
16
		lib/pure/xml.so
21
		lib/pure/xml.so
17
22
18
NO_STAGE=	yes
23
NO_STAGE=	yes
19
.include "${.CURDIR}/../../lang/pure/bsd.pure.mk"
24
25
PORTDOCS=	README
26
27
PORTEXAMPLES=	*
28
29
.include <bsd.port.options.mk>
30
31
post-install:
32
.if ${PORT_OPTIONS:MDOCS}
33
	@${MKDIR} ${DOCSDIR}
34
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
35
.endif
36
37
.if ${PORT_OPTIONS:MEXAMPLES}
38
	@${MKDIR} ${EXAMPLESDIR}
39
	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
40
.endif
41
20
.include <bsd.port.mk>
42
.include <bsd.port.mk>
(-)textproc/pure-xml/pkg-descr (-1 / +1 lines)
Lines 3-6 Link Here
3
libraries, and supplies all the necessary data structures and operations to
3
libraries, and supplies all the necessary data structures and operations to
4
inspect, create, modify and transform XML documents with ease.
4
inspect, create, modify and transform XML documents with ease.
5
5
6
WWW:	http://docs.pure-lang.googlecode.com/hg/pure-xml.html
6
WWW: http://docs.pure-lang.googlecode.com/hg/pure-xml.html
(-)x11-toolkits/pure-gtk/Makefile (-4 / +26 lines)
Lines 3-19 Link Here
3
3
4
PORTNAME=	pure-gtk
4
PORTNAME=	pure-gtk
5
PORTVERSION=	0.11
5
PORTVERSION=	0.11
6
PORTREVISION=	1
6
CATEGORIES=	x11-toolkits
7
CATEGORIES=	x11-toolkits
8
MASTER_SITES=	https://cdn.bitbucket.org/purelang/pure-lang/downloads/
9
DIST_SUBDIR=	pure
7
10
8
MAINTAINER=	lichray@gmail.com
11
MAINTAINER=	lichray@gmail.com
9
COMMENT=	A set of Pure language bindings for GTK+
12
COMMENT=	Set of Pure language bindings for GTK+
10
13
14
LICENSE=	GPLv3 LGPL3
15
LICENSE_COMB=	dual
16
11
LIB_DEPENDS=	cairo:${PORTSDIR}/graphics/cairo
17
LIB_DEPENDS=	cairo:${PORTSDIR}/graphics/cairo
12
18
13
USES=		pkgconfig
19
USES=		pkgconfig pure:ffi
14
USE_PURE=	ffi
15
USE_GNOME=	glib20 gtk20 atk pango
20
USE_GNOME=	glib20 gtk20 atk pango
16
21
17
NO_STAGE=	yes
22
NO_STAGE=	yes
18
.include "${.CURDIR}/../../lang/pure/bsd.pure.mk"
23
24
PORTDOCS=	README
25
26
PORTEXAMPLES=	*
27
28
.include <bsd.port.options.mk>
29
30
post-install:
31
.if ${PORT_OPTIONS:MDOCS}
32
	@${MKDIR} ${DOCSDIR}
33
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
34
.endif
35
36
.if ${PORT_OPTIONS:MEXAMPLES}
37
	@${MKDIR} ${EXAMPLESDIR}
38
	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
39
.endif
40
19
.include <bsd.port.mk>
41
.include <bsd.port.mk>
(-)x11-toolkits/pure-gtk/pkg-descr (-1 / +1 lines)
Lines 2-5 Link Here
2
with Pure. The bindings include the gtk (+gdk), glib, atk, cairo and pango
2
with Pure. The bindings include the gtk (+gdk), glib, atk, cairo and pango
3
libraries, each in their own Pure module.
3
libraries, each in their own Pure module.
4
4
5
WWW:	http://docs.pure-lang.googlecode.com/hg/pure-gtk.html
5
WWW: http://docs.pure-lang.googlecode.com/hg/pure-gtk.html
(-)x11-toolkits/pure-tk/Makefile (-8 / +29 lines)
Lines 2-15 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	pure-tk
4
PORTNAME=	pure-tk
5
PORTVERSION=	0.3
5
PORTVERSION=	0.4
6
CATEGORIES=	x11-toolkits
6
CATEGORIES=	x11-toolkits
7
MASTER_SITES=	https://cdn.bitbucket.org/purelang/pure-lang/downloads/
8
DIST_SUBDIR=	pure
7
9
8
MAINTAINER=	lichray@gmail.com
10
MAINTAINER=	lichray@gmail.com
9
COMMENT=	Basic interface between Pure and Tcl/Tk
11
COMMENT=	Basic interface between Pure and Tcl/Tk
10
12
11
USE_PURE=	yes
13
LICENSE=	BSD
12
USE_TK=		yes
14
15
USES=		pure
16
USE_TK=		86+
13
SHORT_TCL_VER=	${TCL_VER:S/8./8/}
17
SHORT_TCL_VER=	${TCL_VER:S/8./8/}
14
18
15
MAKE_ARGS+=	tclvers=${TCL_VER}
19
MAKE_ARGS+=	tclvers=${TCL_VER}
Lines 18-30 Link Here
18
		lib/pure/tk.so \
22
		lib/pure/tk.so \
19
		lib/pure/tk.pure
23
		lib/pure/tk.pure
20
24
21
NO_STAGE=	yes
22
post-patch:
25
post-patch:
23
	${REINPLACE_CMD} \
26
	${REINPLACE_CMD} \
24
 		-e "s|/usr/include|${LOCALBASE}/include|g" \
27
		-e "s|/usr/include|${LOCALBASE}/include|g" \
25
 		-e "s|-ltcl\$$(tclvers)|-ltcl${SHORT_TCL_VER}|" \
28
		-e "s|-ltcl\$$(tclvers)|-ltcl${SHORT_TCL_VER}|" \
26
 		-e "s|-ltk\$$(tclvers)|-ltk${SHORT_TCL_VER}|" \
29
		-e "s|-ltk\$$(tclvers)|-ltk${SHORT_TCL_VER}|" \
27
		${WRKSRC}/Makefile
30
		${WRKSRC}/Makefile
28
31
29
.include "${.CURDIR}/../../lang/pure/bsd.pure.mk"
32
NO_STAGE=	yes
33
34
PORTDOCS=	README
35
36
PORTEXAMPLES=	*
37
38
.include <bsd.port.options.mk>
39
40
post-install:
41
.if ${PORT_OPTIONS:MDOCS}
42
	@${MKDIR} ${DOCSDIR}
43
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
44
.endif
45
46
.if ${PORT_OPTIONS:MEXAMPLES}
47
	@${MKDIR} ${EXAMPLESDIR}
48
	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
49
.endif
50
30
.include <bsd.port.mk>
51
.include <bsd.port.mk>
(-)x11-toolkits/pure-tk/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (pure/pure-tk-0.3.tar.gz) = a1807441b4784b590b1fcd287d7750b66dd68f9e91bcddf710ccb3a4e9506a32
1
SHA256 (pure/pure-tk-0.4.tar.gz) = 4d254af183974e307aaef73587e93e5f31df548a8f6824ef2db40bb5c46eede6
2
SIZE (pure/pure-tk-0.3.tar.gz) = 31547
2
SIZE (pure/pure-tk-0.4.tar.gz) = 33208

Return to bug 179390