1996-08-21 05:06:55 -04:00
|
|
|
# New ports collection makefile for: youbin
|
1998-08-03 06:06:58 -04:00
|
|
|
# http://www.agusa.nuie.nagoya-u.ac.jp/software/youbin/youbin-e.html
|
1996-08-21 05:06:55 -04:00
|
|
|
# Version required: 2.13
|
|
|
|
# Date created: 09 Aug 1996
|
1996-09-17 11:07:58 -04:00
|
|
|
# Whom: Masafumi NAKANE <max@FreeBSD.ORG>
|
1996-08-21 05:06:55 -04:00
|
|
|
#
|
1998-10-19 21:43:13 -04:00
|
|
|
# $Id: Makefile,v 1.14 1998/09/17 00:32:46 asami Exp $
|
1996-08-21 05:06:55 -04:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= youbin-2.13
|
1996-11-10 16:32:56 -05:00
|
|
|
CATEGORIES= mail
|
1996-08-21 05:06:55 -04:00
|
|
|
MASTER_SITES= ftp://nuis.nuie.nagoya-u.ac.jp/info/nagoya-u/ \
|
|
|
|
ftp://ftp.kyoto.wide.ad.jp/pub/net/
|
|
|
|
|
1996-09-17 11:07:58 -04:00
|
|
|
MAINTAINER= max@FreeBSD.ORG
|
1996-08-21 05:06:55 -04:00
|
|
|
|
1998-09-16 20:33:02 -04:00
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
|
1996-08-21 05:06:55 -04:00
|
|
|
|
|
|
|
USE_IMAKE= yes
|
1998-08-03 05:09:48 -04:00
|
|
|
PREFIX= ${LOCALBASE}
|
|
|
|
MTREE_FILE= /etc/mtree/BSD.local.dist
|
1996-08-21 05:06:55 -04:00
|
|
|
|
1998-10-19 21:43:13 -04:00
|
|
|
MAN1= youbin.1
|
|
|
|
MAN3= youbin_sub.3
|
|
|
|
MAN8= youbind.8
|
|
|
|
|
1997-04-21 06:09:19 -04:00
|
|
|
STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/youbind.sh.sample
|
1996-08-21 05:06:55 -04:00
|
|
|
|
|
|
|
post-install:
|
1996-10-09 08:50:55 -04:00
|
|
|
@if [ ! -f ${STARTUP_SCRIPT} ]; then \
|
|
|
|
echo "Creating startup script '${STARTUP_SCRIPT}'" ; \
|
|
|
|
echo "#!/bin/sh" > ${STARTUP_SCRIPT} ; \
|
|
|
|
echo "if [ -f ${PREFIX}/sbin/youbind ]; then" \
|
|
|
|
>> ${STARTUP_SCRIPT} ; \
|
|
|
|
echo " ${PREFIX}/sbin/youbind ; echo -n ' youbind'" \
|
|
|
|
>> ${STARTUP_SCRIPT} ; \
|
|
|
|
echo "fi" >> ${STARTUP_SCRIPT} ; \
|
|
|
|
chmod 755 ${STARTUP_SCRIPT} ; \
|
1996-08-21 05:06:55 -04:00
|
|
|
fi
|
1997-07-13 14:49:31 -04:00
|
|
|
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
|
1996-08-21 05:06:55 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|