aboutsummaryrefslogtreecommitdiffstats
path: root/www/bkmrkconv/Makefile
blob: f11fea346925d37721b8e8be9581b72168cc9aa6 (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
# New ports collection makefile for:    bkmrkconv
# Date created:     18 Dec 1999
# Whom:         Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#

PORTNAME=   bkmrkconv
PORTVERSION=    1.10
CATEGORIES= www
MASTER_SITES=   http://www.bleb.org/software/bkmrkconv/

MAINTAINER= ports@FreeBSD.org

USE_PERL5=  yes
NO_BUILD=   yes

post-patch:
    @find ${WRKSRC} -name '*.pl' | xargs ${PERL} -pi -e \
        's|/usr/bin/perl|${PERL}|g ; \
         s|%%PREFIX%%|${PREFIX}|g'

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/bkmrkconv.pl ${PREFIX}/bin/bkmrkconv
    @${MKDIR} ${PREFIX}/share/bkmrkconv/src
    ${INSTALL_SCRIPT} ${WRKSRC}/utils/* ${PREFIX}/share/bkmrkconv
    ${INSTALL_DATA} ${WRKSRC}/src.example/* ${PREFIX}/share/bkmrkconv/src
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/bkmrkconv
    ${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/bkmrkconv
.endif

.include <bsd.port.mk>