1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00
freebsd-ports/japanese/cal.rb/Makefile
Christian Weisgerber 854c187a95 Remove MAINTAINER, as per his request:
"I'll be offline for the next few months.  Someone please take care
 of these poor orphans."

Also slip in some minor fixes.

PR:		52831
Submitted by:	Kimura Fuyuki <fuyuki@mj.0038.net>
2003-06-02 01:24:33 +00:00

38 lines
924 B
Makefile

# New ports collection makefile for: cal.rb
# Date created: 3 October 2002
# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
#
# $FreeBSD$
#
PORTNAME= cal.rb
PORTVERSION= 1.13
CATEGORIES= japanese deskutils
MASTER_SITES= http://aglaia.c.u-tokyo.ac.jp/~yamamoto/Script/Calendar/
DISTFILES= cal.rb Calendar.rb era_name
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Displays a Japanese calendar
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= ${WRKSRC}
USE_RUBY= yes
RUBY_SHEBANG_FILES= ${WRKSRC}/cal.rb
NO_WRKSUBDIR= yes
NO_BUILD= yes
post-patch:
${RUBY} -i -pe 'sub "./era_name", "${DATADIR}/era_name"' \
${WRKSRC}/Calendar.rb
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/cal.rb ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/Calendar.rb ${RUBY_SITELIBDIR}
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/era_name ${DATADIR}
.include <bsd.port.mk>