freebsd-ports/japanese/elvis/Makefile
Thomas Gellekum 546041ba31 As threatened on freebsd-ports: all startup scripts know about the two
options `start' and `stop' now (unless I have forgotten any). This allows
us to call the scripts from /etc/rc.shutdown with the correct option.

The (42 or so) ports that already DTRT before are unchanged.
2000-07-05 12:37:06 +00:00

41 lines
1.1 KiB
Makefile

# New ports collection makefile for: elvis + japanese patch
# Date created: 5 October 1995
# Whom: Yoshiro MIHIRA <sanpei@yy.cs.keio.ac.jp>
#
# $FreeBSD$
#
PORTNAME= elvis
PORTVERSION= 1.8.4
CATEGORIES= japanese editors
MASTER_SITES= ftp://ftp.cs.pdx.edu/pub/elvis/
EXTRACT_SUFX= .tgz
DISTNAME= ${PORTNAME}-1.8
PATCH_SITES= ftp://ftp.foretune.co.jp/pub/tools/jelvis/
PATCHFILES= j${PORTNAME}1.8p4-j1.1.tar.Z
MAINTAINER= sanpei@sanpei.org
LIB_DEPENDS= canna.1:${PORTSDIR}/japanese/Canna
NO_WRKSUBDIR= yes
PATCH_DIST_STRIP= -p1
MAN1= elvis.1 ctags.1 ref.1 elvrec.1 elvprsv.1
STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/ja-elvis.sh
do-configure:
@${CP} ${WRKSRC}/Makefile.mix ${WRKSRC}/Makefile
post-install:
@${MKDIR} ${PREFIX}/share/doc/ja-elvis
${INSTALL_DATA} ${WRKSRC}/README.j18 ${PREFIX}/share/doc/ja-elvis
@${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL
@if [ ! -f ${STARTUP_SCRIPT} ]; then \
${ECHO} "Installing ${STARTUP_SCRIPT} startup file."; \
${INSTALL_SCRIPT} ${FILESDIR}/ja-elvis.sh ${STARTUP_SCRIPT};\
fi
.include <bsd.port.mk>