1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/mail/youbin/Makefile
Michael Haro 65ab34a667 FreeBSD.ORG -> FreeBSD.org
Prompted by PR:  13476, 13477
Submitted by:  KATO Tsuguru
1999-08-31 06:53:31 +00:00

45 lines
1.2 KiB
Makefile

# New ports collection makefile for: youbin
# http://www.agusa.nuie.nagoya-u.ac.jp/software/youbin/youbin-e.html
# Version required: 2.13
# Date created: 09 Aug 1996
# Whom: Masafumi NAKANE <max@FreeBSD.org>
#
# $FreeBSD$
#
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
FORBIDDEN= see PR# 6180 about exploitable security hole
USE_IMAKE= yes
PREFIX= ${LOCALBASE}
MTREE_FILE= /etc/mtree/BSD.local.dist
MAN1= youbin.1
MAN3= youbin_sub.3
MAN8= youbind.8
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} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>