View | Details | Raw Unified | Return to bug 169419
Collapse All | Expand All

(-)lang/nickle/Makefile (-9 / +12 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	nickle
8
PORTNAME=	nickle
9
PORTVERSION=	2.75
9
PORTVERSION=	2.76
10
CATEGORIES=	lang
10
CATEGORIES=	lang
11
MASTER_SITES=	http://www.nickle.org/release/
11
MASTER_SITES=	http://www.nickle.org/release/
12
12
Lines 15-20 Link Here
15
15
16
LICENSE=	MIT
16
LICENSE=	MIT
17
17
18
PORT_OPTIONS=	EXAMPLES
19
20
USE_NCURSES=	yes
18
USE_GMAKE=	yes
21
USE_GMAKE=	yes
19
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
20
MAKE_JOBS_SAFE=	yes
23
MAKE_JOBS_SAFE=	yes
Lines 25-43 Link Here
25
28
26
MAN1=		nickle.1
29
MAN1=		nickle.1
27
30
31
.include <bsd.port.options.mk>
32
28
post-patch:
33
post-patch:
29
# Do not descend into "examples" subdirectory to prevent them being installed
34
	@${REINPLACE_CMD} -e \
30
# under DATADIR (instead, we manually install them later in post-install into
35
		'/^SUBDIRS/s|examples|| ; \
31
# EXAMPLESDIR); also remove extra -O2 since we provide our own CFLAGS.
36
		 s| -O2||' ${WRKSRC}/Makefile.in
32
	@${REINPLACE_CMD} -e '/^SUBDIRS/s|examples|| ; s| -O2||' \
33
		${WRKSRC}/Makefile.in
34
37
35
post-install:
38
post-install:
36
.if !defined(NOPORTEXAMPLES)
39
.if ${PORT_OPTIONS:MEXAMPLES}
37
	@${MKDIR} ${EXAMPLESDIR}
40
	@${MKDIR} ${EXAMPLESDIR}
38
	@(cd ${WRKSRC}/examples && ${FIND} . ! \( -name "*Makefile*" -or \
41
	@(cd ${WRKSRC}/examples && ${FIND} . ! \( -name "*Makefile*" -or \
39
		-name "*.sgml" \) | ${CPIO} -pdm -LR ${SHAREOWN}:${SHAREGRP} \
42
		-name "*.sgml" \) | ${CPIO} -pdm -L \
40
			${EXAMPLESDIR})
43
		-R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR})
41
	@${FIND} ${EXAMPLESDIR} -type d | ${XARGS} ${CHMOD} a+rx
44
	@${FIND} ${EXAMPLESDIR} -type d | ${XARGS} ${CHMOD} a+rx
42
	@${FIND} ${EXAMPLESDIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
45
	@${FIND} ${EXAMPLESDIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
43
.endif
46
.endif
(-)lang/nickle/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (nickle-2.75.tar.gz) = 74a7c8e33975ff3a9bb743c210211f6ae5b14f45f208e5b79e85faabd65a9bb7
1
SHA256 (nickle-2.76.tar.gz) = ae9b3e4ea0ab204db84121bf6c9d540d60a0e813196422790c751961fc8a1ef0
2
SIZE (nickle-2.75.tar.gz) = 512728
2
SIZE (nickle-2.76.tar.gz) = 516524

Return to bug 169419