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

(-)Makefile (-3 / +8 lines)
Lines 11-25 Link Here
11
MASTER_SITES=	SF
11
MASTER_SITES=	SF
12
EXTRACT_SUFX=	.tgz
12
EXTRACT_SUFX=	.tgz
13
13
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	scjamorim@bsd.com.br
15
COMMENT=	Convert simply formatted text into markup (e.g., HTML)
15
COMMENT=	Convert simply formatted text into markup (e.g., HTML)
16
16
17
USE_PYTHON=	yes
17
USE_PYTHON=	yes
18
NO_BUILD=	yes
18
NO_BUILD=	yes
19
19
20
DOCS=		ChangeLog README TODO doc/userguide.pdf
20
PORTDOCS=	ChangeLog README TODO userguide.pdf
21
SAMPLE_DIRS=	css img module
21
SAMPLE_DIRS=	css img module
22
22
23
post-patch:
24
	@${MV} ${WRKSRC}/doc/userguide.pdf ${WRKSRC}/
25
23
do-install:
26
do-install:
24
	${INSTALL_SCRIPT} ${WRKSRC}/txt2tags ${PREFIX}/bin
27
	${INSTALL_SCRIPT} ${WRKSRC}/txt2tags ${PREFIX}/bin
25
.for dir in ${SAMPLE_DIRS}
28
.for dir in ${SAMPLE_DIRS}
Lines 31-37 Link Here
31
	${INSTALL_DATA} ${WRKSRC}/extras/* ${EXAMPLESDIR}/extras
34
	${INSTALL_DATA} ${WRKSRC}/extras/* ${EXAMPLESDIR}/extras
32
.if !defined(NOPORTDOCS)
35
.if !defined(NOPORTDOCS)
33
	@${MKDIR} ${DOCSDIR}
36
	@${MKDIR} ${DOCSDIR}
34
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
37
.for docs in ${PORTDOCS}
38
	${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
39
.endfor
35
.endif
40
.endif
36
41
37
.include <bsd.port.mk>
42
.include <bsd.port.mk>
(-)pkg-plist (-6 lines)
Lines 1-10 Link Here
1
@comment $FreeBSD: ports/textproc/txt2tags/pkg-plist,v 1.5 2008/08/10 02:51:00 chinsan Exp $
2
bin/txt2tags
1
bin/txt2tags
3
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
4
%%PORTDOCS%%%%DOCSDIR%%/README
5
%%PORTDOCS%%%%DOCSDIR%%/TODO
6
%%PORTDOCS%%%%DOCSDIR%%/userguide.pdf
7
%%PORTDOCS%%@dirrm %%DOCSDIR%%
8
%%EXAMPLESDIR%%/css/color.css
2
%%EXAMPLESDIR%%/css/color.css
9
%%EXAMPLESDIR%%/css/color.html
3
%%EXAMPLESDIR%%/css/color.html
10
%%EXAMPLESDIR%%/css/modern.css
4
%%EXAMPLESDIR%%/css/modern.css

Return to bug 138294