# New ports collection makefile for: txt2html # Date created: 29 Jun 1998 # Whom: Don Croyle # # $FreeBSD$ # PORTNAME= txt2html PORTVERSION= 1.28 PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://www.aigeek.com/txt2html/ MAINTAINER= croyle@gelemna.org NO_BUILD= yes do-configure: @${PERL} -pi -e "s|/usr/local|${PREFIX}|g; \ s|${PREFIX}/lib|${DATADIR}|" ${WRKSRC}/txt2html.pl do-install: ${INSTALL_SCRIPT} ${WRKSRC}/txt2html.pl ${PREFIX}/bin/txt2html @${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/txt2html.dict ${DATADIR} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for file in INSTALL LICENSE README changes.html sample.foot sample.html sample.txt ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor .endif @${ECHO_MSG} "To install the sample links dictionary as the default" @${ECHO_MSG} "copy or link ${PREFIX}/share/doc/txt2html/txt2html.dict to" @${ECHO_MSG} "${PREFIX}/lib/txt2html.dict or ~/.txt2html.dict" .include '>cgit logo index : freebsd-ports-gnome
FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
blob: 7cb79068df29fa166f2ac23bd56bc1468d1455e0 (plain) (blame)
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
# ex:ts=8
# New ports collection makefile for:    o3read
# Date created:                 Aug 07, 2008
# Whom:             samm
#
# $FreeBSD$

PORTNAME=   o3read
PORTVERSION=    0.0.4
CATEGORIES= converters
MASTER_SITES=   http://siag.nu/pub/o3read/ \
        ${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR= distfiles

MAINTAINER= samm@os2.kiev.ua
COMMENT=    Standalone converter for the OpenOffice.org writer and scalc formats

MAN1=       o3read.1 utf8tolatin1.1
MLINKS=     o3read.1 o3totxt.1 o3read.1 o3tohtml.1
PORTDOCS=   README COPYING ChangeLog
PLIST_FILES=    bin/o3read bin/o3totxt bin/o3tohtml bin/utf8tolatin1

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/o3read ${PREFIX}/bin
    @${INSTALL_PROGRAM} ${WRKSRC}/o3totxt ${PREFIX}/bin
    @${INSTALL_PROGRAM} ${WRKSRC}/o3tohtml ${PREFIX}/bin
    @${INSTALL_PROGRAM} ${WRKSRC}/utf8tolatin1 ${PREFIX}/bin
    @${INSTALL_MAN} ${WRKSRC}/o3read.1 ${MANPREFIX}/man/man1
    @${INSTALL_MAN} ${WRKSRC}/utf8tolatin1.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for FILE in ${PORTDOCS}
    @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>