1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/mail/youbin/Makefile
Steve Price 08e72430dc Move the call to REQ to pre-build instead of pre-fetch so a 'make fetch'
from /usr/ports doesn't stop and require user interaction.
1999-09-17 18:24:55 +00:00

44 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>
#
# $FreeBSD$
#
DISTNAME= youbin-2.13
CATEGORIES= mail
MASTER_SITES= ftp://ftp.nuie.nagoya-u.ac.jp/pub/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}
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
pre-build:
@${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGDIR}/REQ ${PKGNAME} BUILD
pre-install:
@${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL
post-install:
@if [ ! -f ${STARTUP_SCRIPT} ]; then \
${ECHO} "Creating startup script '${STARTUP_SCRIPT}'" ; \
${SED} s:@PREFIX@:${PREFIX}: ${FILESDIR}/youbind.sh.sample \
> ${STARTUP_SCRIPT} ; \
${CHMOD} 755 ${STARTUP_SCRIPT} ; \
fi
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>