08ddf63aba
want to use the client program doesn't have to mess with it. Rewrite the warning message in pkg/INSTALL. Suggested by: sampei@yy.cs.keio.ac.jp
37 lines
1.0 KiB
Makefile
37 lines
1.0 KiB
Makefile
# New ports collection makefile for: youbin
|
|
# Version required: 2.13
|
|
# Date created: 09 Aug 1996
|
|
# Whom: Masafumi NAKANE <max@FreeBSD.ORG>
|
|
#
|
|
# $Id: Makefile,v 1.8 1997/04/21 04:05:14 max Exp $
|
|
#
|
|
|
|
DISTNAME= youbin-2.13
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ftp://nuis.nuie.nagoya-u.ac.jp/info/nagoya-u/ \
|
|
ftp://ftp.kyoto.wide.ad.jp/pub/net/
|
|
|
|
MAINTAINER= max@FreeBSD.ORG
|
|
|
|
LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
|
|
|
|
USE_IMAKE= yes
|
|
PREFIX?= ${LOCALBASE}
|
|
|
|
STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/youbind.sh.sample
|
|
|
|
post-install:
|
|
@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} ; \
|
|
fi
|
|
@${SETENV} PKG_PREFIX=${PREFIX} /bin/sh ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
|
|
|
|
.include <bsd.port.mk>
|