mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
a0c3524ba2
- Add NO_ARCH - Switch to options helpers - Regenerate patch and switch to patching an actual file instead of symlink to it
38 lines
903 B
Makefile
38 lines
903 B
Makefile
# Created by: Will Andrews <andrews@technologist.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= bkmrkconv
|
|
PORTVERSION= 1.12
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.bleb.org/software/bkmrkconv/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Netscape bookmarks.html converter
|
|
|
|
LICENSE= ART10
|
|
|
|
USES= perl5
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name '*.pl' | ${XARGS} ${REINPLACE_CMD} -i '' -e \
|
|
's|/usr/bin/perl|${PERL}|g ; \
|
|
s|%%PREFIX%%|${PREFIX}|g'
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bkmrkconv.pl \
|
|
${STAGEDIR}${PREFIX}/bin/bkmrkconv
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/utils/* ${STAGEDIR}${DATADIR}
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/src
|
|
${INSTALL_DATA} ${WRKSRC}/src.example/* ${STAGEDIR}${DATADIR}/src
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|