1996-08-19 11:37:29 +00:00
|
|
|
# New ports collection makefile for: SJ3
|
1998-10-09 06:10:47 +00:00
|
|
|
# Version required: 2.0.1.20
|
|
|
|
# Date created: 18 Aug 1998
|
1996-08-19 11:37:29 +00:00
|
|
|
# Whom: Hidekazu Kuroki <hidekazu@cs.titech.ac.jp>
|
|
|
|
#
|
1998-11-28 02:18:45 +00:00
|
|
|
# $Id: Makefile,v 1.7 1998/10/09 06:10:47 kuriyama Exp $
|
1996-08-19 11:37:29 +00:00
|
|
|
#
|
|
|
|
|
1998-10-09 06:10:47 +00:00
|
|
|
DISTNAME= sj3-2.0.1.20
|
|
|
|
PKGNAME= ja-sj3-2.0.1.20
|
1996-11-11 10:13:07 +00:00
|
|
|
CATEGORIES= japanese
|
1996-08-19 11:37:29 +00:00
|
|
|
MASTER_SITES= ftp://ftp.sony.co.jp/pub/unsupported/src/ \
|
|
|
|
ftp://ftp.cs.titech.ac.jp/pub/japanese/sj3/
|
|
|
|
|
|
|
|
MAINTAINER= hidekazu@cs.titech.ac.jp
|
|
|
|
|
1998-11-28 02:18:45 +00:00
|
|
|
BUILD_DPENDS= xmkmf:${PORTSDIR}/x11/XFree86
|
|
|
|
|
1996-11-13 12:41:39 +00:00
|
|
|
MAN1= sj3.1 sj3dic.1 sj3mkdic.1 sj3serv.1
|
1998-06-06 03:45:17 +00:00
|
|
|
MANLANG= ja
|
1996-11-13 12:41:39 +00:00
|
|
|
|
1998-10-09 06:10:47 +00:00
|
|
|
STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/sj3.sh
|
|
|
|
|
1996-08-19 11:37:29 +00:00
|
|
|
# This port requires xmkmf but installs in /usr/local
|
|
|
|
#
|
|
|
|
# NOTE : You must not use 'xmkmf -a', because the running 'make depend' caused a error.
|
|
|
|
|
|
|
|
do-configure:
|
1998-10-09 06:10:47 +00:00
|
|
|
( cd $(WRKSRC) ; xmkmf ; make Makefiles )
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
if [ ! -f ${STARTUP_SCRIPT} ]; then \
|
|
|
|
${ECHO} "Installing ${STARTUP_SCRIPT} startup file."; \
|
|
|
|
${ECHO} '#!/bin/sh' > ${STARTUP_SCRIPT}; \
|
|
|
|
${ECHO} 'sj3=${PREFIX}/bin/sj3serv' >> ${STARTUP_SCRIPT} ; \
|
|
|
|
${ECHO} 'if [ -f $$sj3 ]; then' >> ${STARTUP_SCRIPT} ; \
|
|
|
|
${ECHO} ' $$sj3' >> ${STARTUP_SCRIPT} ; \
|
|
|
|
${ECHO} "fi" >> ${STARTUP_SCRIPT} ; \
|
|
|
|
chmod 755 ${STARTUP_SCRIPT} ; \
|
|
|
|
chown bin.bin ${STARTUP_SCRIPT}; \
|
|
|
|
fi
|
|
|
|
${SETENV} PKG_PREFIX=${PREFIX} \
|
|
|
|
${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
|
1996-08-19 11:37:29 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|