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

PORTNAME=   bkmrkconv
PORTVERSION=    1.08
CATEGORIES= www
MASTER_SITES=   http://www.dcs.warwick.ac.uk/~csube/bkmrkconv/
DISTFILES=  ${PORTNAME}.tar.gz

MAINTAINER= ports@FreeBSD.org

USE_PERL5=  yes
NO_BUILD=   yes

pre-install:
    @${PERL} -pi -e "s:/usr/local/bin/perl:${PERL}:g ; \
        s:/usr/local/share:${PREFIX}/share:g" ${WRKSRC}/*.pl

do-install:
    @${MKDIR} ${PREFIX}/share/bkmrkconv/src
    @${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/bkmrkconv/
    @${INSTALL_DATA} ${WRKSRC}/src.example/* ${PREFIX}/share/bkmrkconv/src/
    @${INSTALL_SCRIPT} ${WRKSRC}/random.pl ${PREFIX}/share/bkmrkconv/
    @${INSTALL_SCRIPT} ${WRKSRC}/bkmrkconv.pl ${PREFIX}/bin/bkmrkconv

.include <bsd.port.mk>