mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
6ab10bb8c2
PR: ports/78745 Submitted by: Ports Fury
36 lines
849 B
Makefile
36 lines
849 B
Makefile
# New ports collection makefile for: bkmrkconv
|
|
# Date created: 18 Dec 1999
|
|
# Whom: Will Andrews <andrews@technologist.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= bkmrkconv
|
|
PORTVERSION= 1.11
|
|
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} ${DATADIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/utils/* ${DATADIR}
|
|
@${MKDIR} ${DATADIR}/src
|
|
${INSTALL_DATA} ${WRKSRC}/src.example/* ${DATADIR}/src
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|