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

(-)Makefile (-2 / +13 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	dico
8
PORTNAME=	dico
9
PORTVERSION= 	1.1
9
PORTVERSION= 	1.1
10
PORTREVISION=	3
10
PORTREVISION=	4
11
CATEGORIES=	textproc
11
CATEGORIES=	textproc
12
MASTER_SITES=	http://homepages.starnet.fr/dtrystram/
12
MASTER_SITES=	http://homepages.starnet.fr/dtrystram/
13
#	http://www.montefiore.ulg.ac.be/~geuzaine/BRONNE/WWW/ftp/ le_dico.tgz
13
#	http://www.montefiore.ulg.ac.be/~geuzaine/BRONNE/WWW/ftp/ le_dico.tgz
Lines 26-48 Link Here
26
26
27
USE_REINPLACE=	true
27
USE_REINPLACE=	true
28
USE_ZIP=	true
28
USE_ZIP=	true
29
EXTRACT_CMD=	UNZIP= unzip
29
WRKSRC=		${WRKDIR}/${PORTNAME}
30
WRKSRC=		${WRKDIR}/${PORTNAME}
30
USE_AUTOMAKE=	true
31
USE_AUTOMAKE=	true
31
USE_GMAKE=	true
32
USE_GMAKE=	true
32
AUTOMAKE_ARGS=	--add-missing --foreign --include-deps
33
AUTOMAKE_ARGS=	--add-missing --foreign --include-deps
33
MAKE_ARGS=	prefix=${PREFIX}
34
MAKE_ARGS=	prefix=${PREFIX}
34
MAN1=		dico.1
35
MAN1=		dico.1
36
REINPLACE_SUB=	PREFIX=${PREFIX}
35
37
36
# Post-patch
38
# Post-patch
37
#
39
#
38
40
39
post-patch:
41
post-patch:
40
	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/sources/dico.c
42
	@${REINPLACE_CMD} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
43
		${WRKSRC}/sources/dico.c
41
44
42
# Pre-configure
45
# Pre-configure
43
#
46
#
44
47
45
pre-configure:
48
pre-configure:
46
	@cd ${WRKSRC} && ${ACLOCAL}
49
	@cd ${WRKSRC} && ${ACLOCAL}
50
51
# Post-install
52
#
53
54
post-install:
55
.if defined(NOPORTDOCS)
56
	@${RM} -rf ${DOCSDIR}
57
.endif
47
58
48
.include <bsd.port.mk>
59
.include <bsd.port.mk>
(-)pkg-plist (-1 / +1 lines)
Lines 28-33 Link Here
28
%%DATADIR%%/y.dic
28
%%DATADIR%%/y.dic
29
%%DATADIR%%/z.dic
29
%%DATADIR%%/z.dic
30
@dirrm %%DATADIR%%
30
@dirrm %%DATADIR%%
31
%%PORTDOCS%%%%DOCSDIR%%/copying.doc
32
%%PORTDOCS%%%%DOCSDIR%%/README.TXT
31
%%PORTDOCS%%%%DOCSDIR%%/README.TXT
32
%%PORTDOCS%%%%DOCSDIR%%/copying.doc
33
%%PORTDOCS%%@dirrm %%DOCSDIR%%
33
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 64021