69e8e2da30
PR: 37797 Submitted by: Esa Karkkainen <ejk@iki.fi>
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
# New ports collection makefile for: dailystrips
|
|
# Date created: 13 July 2001
|
|
# Whom: Pete Fritchman <petef@databits.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dailystrips
|
|
PORTVERSION= 1.0.23
|
|
CATEGORIES= deskutils www
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= petef@FreeBSD.org
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \
|
|
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate
|
|
|
|
NO_BUILD= yes
|
|
USE_PERL5= yes
|
|
|
|
post-patch:
|
|
@${PERL} -pi -e 's|^#!/usr/bin/perl|#!${PERL}|; \
|
|
s!/usr/share/dailystrips/strips.def!${DATADIR}/strips.def!' \
|
|
${WRKSRC}/dailystrips
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/dailystrips ${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/dailystrips-clean ${PREFIX}/bin
|
|
@${MKDIR} ${DATADIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/strips.def ${DATADIR}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in README README.DEFS README.LOCAL
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|