mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
4afab58dbd
expressions. PR: 28357 Submitted by: petef@databits.net
30 lines
675 B
Makefile
30 lines
675 B
Makefile
# New ports collection makefile for: cfm
|
|
# Date created: 23 June 2001
|
|
# Whom: petef@databits.net
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cfm
|
|
PORTVERSION= 0.5
|
|
CATEGORIES= x11-fm
|
|
MASTER_SITES= http://www.rpi.edu/~mullr/cfm/dist/
|
|
|
|
MAINTAINER= petef@databits.net
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk
|
|
|
|
NO_BUILD= yes
|
|
USE_PERL5= yes
|
|
|
|
post-patch:
|
|
@${PERL} -pi -e 's|#!/usr/bin/perl|#!${PERL}|' ${WRKSRC}/cfm
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/cfm ${PREFIX}/bin
|
|
@${MKDIR} ${PREFIX}/share/examples/cfm
|
|
${INSTALL_DATA} ${WRKSRC}/example.cfmrc \
|
|
${PREFIX}/share/examples/cfm/dot.cfmrc
|
|
|
|
.include <bsd.port.mk>
|