1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/www/bkmrkconv/Makefile
2003-02-20 19:21:36 +00:00

35 lines
910 B
Makefile

# 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
COMMENT= Netscape bookmarks.html converter
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>