2001-08-25 03:17:59 -04:00
|
|
|
# Ports collection makefile for: cadubi
|
|
|
|
# Date created: 24 Aug 2001
|
|
|
|
# Whom: Kris Kennaway <kris@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cadubi
|
2004-02-20 11:10:44 -05:00
|
|
|
PORTVERSION= 1.3
|
2001-08-25 03:17:59 -04:00
|
|
|
CATEGORIES= graphics editors
|
2004-02-20 11:10:44 -05:00
|
|
|
MASTER_SITES= http://langworth.com/downloads/
|
2001-08-25 03:17:59 -04:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 13:08:19 -05:00
|
|
|
COMMENT= ASCII drawing utility
|
2001-08-25 03:17:59 -04:00
|
|
|
|
2003-10-24 08:05:09 -04:00
|
|
|
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey
|
2001-08-25 03:17:59 -04:00
|
|
|
|
2004-02-20 11:10:44 -05:00
|
|
|
USE_PERL5= yes
|
2001-08-25 03:17:59 -04:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
2004-02-20 11:10:44 -05:00
|
|
|
do-configure:
|
|
|
|
@${PERL} -pi -e \
|
|
|
|
's|Bin/help|Bin/../share/cadubi/help|g' ${WRKSRC}/cadubi
|
|
|
|
|
2001-08-25 03:17:59 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/cadubi ${PREFIX}/bin
|
2004-02-20 11:10:44 -05:00
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/help.txt ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/logo.txt ${DATADIR}
|
2001-08-25 03:17:59 -04:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-02-20 11:10:44 -05:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/extras/ansi_term_codes.txt ${DOCSDIR}
|
2001-08-25 03:17:59 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|