1996-08-21 09:06:55 +00:00
|
|
|
# New ports collection makefile for: youbin
|
|
|
|
# Version required: 2.13
|
|
|
|
# Date created: 09 Aug 1996
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: Masafumi NAKANE <max@FreeBSD.org>
|
1996-08-21 09:06:55 +00:00
|
|
|
#
|
1999-08-25 06:51:17 +00:00
|
|
|
# $FreeBSD$
|
1996-08-21 09:06:55 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= youbin-2.13
|
1996-11-10 21:32:56 +00:00
|
|
|
CATEGORIES= mail
|
1999-09-09 16:01:03 +00:00
|
|
|
MASTER_SITES= ftp://ftp.nuie.nagoya-u.ac.jp/pub/nagoya-u/ \
|
1996-08-21 09:06:55 +00:00
|
|
|
ftp://ftp.kyoto.wide.ad.jp/pub/net/
|
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= max@FreeBSD.org
|
1996-08-21 09:06:55 +00:00
|
|
|
|
1998-09-17 00:33:02 +00:00
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
|
1996-08-21 09:06:55 +00:00
|
|
|
|
|
|
|
USE_IMAKE= yes
|
1999-09-09 08:37:41 +00:00
|
|
|
PREFIX?= ${LOCALBASE}
|
|
|
|
MTREE_FILE?= /etc/mtree/BSD.local.dist
|
1996-08-21 09:06:55 +00:00
|
|
|
|
1998-10-20 01:43:13 +00:00
|
|
|
MAN1= youbin.1
|
|
|
|
MAN3= youbin_sub.3
|
|
|
|
MAN8= youbind.8
|
|
|
|
|
1997-04-21 10:09:19 +00:00
|
|
|
STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/youbind.sh.sample
|
1996-08-21 09:06:55 +00:00
|
|
|
|
1999-09-17 18:24:55 +00:00
|
|
|
pre-build:
|
1999-09-09 08:37:41 +00:00
|
|
|
@${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGDIR}/REQ ${PKGNAME} BUILD
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL
|
|
|
|
|
1996-08-21 09:06:55 +00:00
|
|
|
post-install:
|
1999-09-09 08:37:41 +00:00
|
|
|
@if [ ! -f ${STARTUP_SCRIPT} ]; then \
|
1999-08-27 20:31:07 +00:00
|
|
|
${ECHO} "Creating startup script '${STARTUP_SCRIPT}'" ; \
|
1999-09-09 08:37:41 +00:00
|
|
|
${SED} s:@PREFIX@:${PREFIX}: ${FILESDIR}/youbind.sh.sample \
|
|
|
|
> ${STARTUP_SCRIPT} ; \
|
|
|
|
${CHMOD} 755 ${STARTUP_SCRIPT} ; \
|
1996-08-21 09:06:55 +00:00
|
|
|
fi
|
1997-07-13 18:49:31 +00:00
|
|
|
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
|
1996-08-21 09:06:55 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|