5e5841f2cd
PORTREVISION or PORTEPOCH are defined. Most of these Makefiles were defining DISTNAME and WRKSRC (and sometimes EXTRACT_SUFX) -- change those to define DISTFILES only. Also, some of the WRKSRC lines were not even necessary, as they were defining it to the default value. Instigated by: Peter Pentchev <roam@orbitel.bg> and kris
31 lines
859 B
Makefile
31 lines
859 B
Makefile
# 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= will@FreeBSD.org
|
|
|
|
USE_PERL5= yes
|
|
NO_BUILD= yes
|
|
|
|
pre-install:
|
|
@${PERL} -pi -e "s:/usr/local/bin/perl:${PERL}:g" ${WRKSRC}/*.pl
|
|
@${PERL} -pi -e "s:/usr/local/share:${PREFIX}/share:g" ${WRKSRC}/bkmrkconv.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>
|